[wp-trac] [WordPress Trac] #58487: Text editor problem

WordPress Trac noreply at wordpress.org
Thu Jun 8 14:02:20 UTC 2023


#58487: Text editor problem
-------------------------------+------------------------------
 Reporter:  burhi              |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  6.2.2
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by vshmal):

 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 "<" 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 "<". 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58487#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list