[wp-trac] [WordPress Trac] #19855: Too much text in <pre> tag causes no output
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 19 01:44:12 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 | Keywords:
--------------------------+-----------------------------
Posting this on behalf of Sirisian in IRC who sent the question to wp-
hackers on my suggestion and didn't get anywhere.
I was writing an article on my blog with a huge code dump at the end
inside of a pre tag. I noticed that this breaks wordpress. This is 100%
reproducible by pasting http://pastebin.com/6m3RVGbr into a post then
hitting preview (You can use blank pre tags. I just had stuff in them for
a syntax highlighter plugin. It doesn't generate a page even with all
plugins disabled anyway).
I believe it's caused because there's over 64 KB of data in the pre tags.
Talking to someone in the IRC and they said:
> looks like there's a preg_replace_callback called clean_pre, probably
that's what's failing due to size
> basically, probably wpautop()'s fault
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19855>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list