[wp-trac] [WordPress Trac] #19855: Too much text in <pre> tag causes no output
WordPress Trac
wp-trac at lists.automattic.com
Sat Mar 3 02:38:33 UTC 2012
#19855: Too much text in <pre> tag causes no output
--------------------------+------------------------------
Reporter: helenyhou | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 1.2
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by azaozz):
Replying to [comment:8 kurtpayne]:
> azaozz, it looks like [[attachment:19855-2.patch]] still runs the
contents of `<pre></pre>` blocks through the string replacements. It
doesn't time out as described in the original issue, but the text still
has newlines inserted. For example:
>
> Input:
> {{{
> <p><pre>o = "<div>test</div>";</pre></p>
> }}}
>
Keep in mind that the inside of <pre> tags the htmlspecialchars are
encoded. So that input should be:
{{{
<pre>o = "$lt;div>test$lt;/div>";</pre>
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19855#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list