[wp-trac] [WordPress Trac] #19855: Too much text in <pre> tag causes no output

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 14 00:27:40 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 kurtpayne):

 Replying to [comment:12 azaozz]:
 > Yes, <pre> is a block tag so when typing in the HTML editor it has to
 have a line break before opening and after closing. That's how it comes
 out of the Visual editor too.
 >
 > On the other hand when using the HTML editor it assumes the user is
 aware that block tags have to be treated as blocks of text, i.e. "\n\n"
 before the opening tag and after the closing tag.

 Updated unit test to more closely match real world usage [http://unit-
 test.trac.wordpress.org/changeset/575 575].

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19855#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list