[wp-trac] [WordPress Trac] #35514: Shortcodes escape from HTML tables

WordPress Trac noreply at wordpress.org
Mon Jan 18 16:43:42 UTC 2016


#35514: Shortcodes escape from HTML tables
-------------------------------+------------------------------
 Reporter:  Grzegorz.Janoszka  |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  TinyMCE            |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion        |     Focuses:
-------------------------------+------------------------------

Comment (by Grzegorz.Janoszka):

 Thank you for reeditting my initial post. Indeed the HTML markup is not
 valid, but if you let shortcodes in, you can never ensure full HTML
 validity as shortcodes can enter any HTML code.

 For me ideally would be if TinyMCE could check and fix HTML if no
 shortcodes are used. If there is a block with a broken HTML _and_
 shortcodes, the editor can mark it as a potential error, but it shouldn't
 attempt to fix it.

 What is interesting, TinyMCE is not so strict when it comes to other
 pieces of HTML code, for example:

 {{{
 <ul>
 [listitem id=3]
 [listitem id=4]
 </ul>
 }}}

 is allowed.

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


More information about the wp-trac mailing list