[wp-trac] [WordPress Trac] #39847: force_balance_tags not properly balancing < in \[\] block

WordPress Trac noreply at wordpress.org
Sat Feb 11 19:12:05 UTC 2017


#39847: force_balance_tags not properly balancing < in \[\] block
--------------------------+-----------------------------
 Reporter:  jpmerx        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  4.7.2
 Severity:  normal        |   Keywords:
  Focuses:  ui            |
--------------------------+-----------------------------
 Given following HMTL code which includes the ''\['' and ''\]'' Latex
 delimiters:

 {{{
 \[<\] <strong>We</strong>
 }}}

 the output of '''force_balance_tags''' is

 {{{
 \[<\] <strong>We
 }}}

 which is not correct as the bold tags are unbalanced. Expected output
 should be the input string.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39847>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list