[wp-trac] [WordPress Trac] #39847: force_balance_tags not properly balancing < with <strong> and </strong> (was: force_balance_tags not properly balancing < in \[\] block)
WordPress Trac
noreply at wordpress.org
Sat Feb 11 21:10:09 UTC 2017
#39847: force_balance_tags not properly balancing < with <strong> and </strong>
--------------------------+------------------------------
Reporter: jpmerx | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.7.2
Severity: normal | Resolution:
Keywords: | Focuses: ui
--------------------------+------------------------------
Comment (by jpmerx):
''I found an even simple string producing the error.''
For 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#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list