[wp-trac] [WordPress Trac] #18807: Switching from HTML to Visual messes up "samp" elements

WordPress Trac noreply at wordpress.org
Mon Jan 14 21:34:30 UTC 2013


#18807: Switching from HTML to Visual messes up "samp" elements
--------------------------+------------------------------
 Reporter:  jsumners      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by toscho):

 * cc: info@… (added)
 * keywords:  needs-patch => has-patch


Comment:

 This is not (just) a TinyMCE bug, `samp` is part of the block element list
 in `wpautop()`.

 The attached patch removes `samp` from the list of block elements.

 Please set the milestone to 3.6; I just had to hack around this bug in a
 long document with many string examples.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18807#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list