Make WordPress Core

Opened 11 months ago

Last modified 11 months ago

#58487 new defect (bug)

Text editor problem

Reported by: burhi's profile burhi Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.2.2
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

Hi, the < character causes corruption.

lines are concatenating and shortcodes don't work

1: https://ibb.co/yndnCP1

2: https://ibb.co/Rhd2r87

If there is no < character, everything will look normal.

3: https://ibb.co/1Xvvw7V

Attachments (4)

screenshot.zip (63.3 KB) - added by burhi 11 months ago.
1.png (7.0 KB) - added by NekoJonez 11 months ago.
2.png (6.3 KB) - added by NekoJonez 11 months ago.
3.png (55.9 KB) - added by NekoJonez 11 months ago.

Download all attachments as: .zip

Change History (8)

@burhi
11 months ago

This ticket was mentioned in Slack in #core by vshmal. View the logs.


11 months ago

@NekoJonez
11 months ago

@NekoJonez
11 months ago

@NekoJonez
11 months ago

#2 follow-up: @NekoJonez
11 months ago

We usually don't zip up screenshots and post them here... So, I unzipped the screenshots and uploaded them for you @burhi ... This way they are also easily viewable in the ticket :D.

#3 in reply to: ↑ 2 @burhi
11 months ago

Replying to NekoJonez:

We usually don't zip up screenshots and post them here... So, I unzipped the screenshots and uploaded them for you @burhi ... This way they are also easily viewable in the ticket :D.

Thank you

#4 @vshmal
11 months ago

I have confirm the issue. When you are on the classic editor (text tab) and add html content with less than "<" symbol and a short code and save it. In database it saves as < symbol and not as "&lt;" with the resulton the frontend the short code is not being interpreted.

If you change tab from text to visual and back to text the tiny mce is changing the < symbol to "&lt;". And if you save it with the changed value it works correctly.

I haven't confirm where this problem exactly happens.

I believe the short code interpreter breaks, if it finds an open html tag without closing.

Will check it again later.

Note: See TracTickets for help on using tickets.