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

WordPress Trac noreply at wordpress.org
Wed Mar 2 00:54:36 UTC 2016


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

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @Grzegorz.Janoszka, don't think we can fix this.  In HTML context all
 shortcodes are "plain text". Looking at the examples, you are adding text
 inside `<tbody>` which is invalid HTML, so it gets removed on cleanup. I'm
 not sure why you don't want to insert the `<tr>` and `<td>` but the HTML
 has to be valid inside the editor.

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


More information about the wp-trac mailing list