[wp-trac] [WordPress Trac] #22625: Lone less than (<) characters foul up balanceTags()

WordPress Trac noreply at wordpress.org
Wed Nov 28 22:47:23 UTC 2012


#22625: Lone less than (<) characters foul up balanceTags()
-----------------------------+--------------------------
 Reporter:  markjaquith      |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 1. Turn on tag balancing.
 2. Try this text:
 {{{
 This is < That.

 <blockquote>foo</blockquote>

 Text <a href="#">link</a>. Post-link text.
 }}}
 3. On save, the ending blockquote tag is stripped, and the subsequent text
 is blockquoted.

 We should recognize lone {{{<}}} characters and entity encode them like we
 do for {{{<3}}}.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22625>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list