[wp-trac] [WordPress Trac] #11202: automatic line break

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 20 18:47:50 UTC 2009


#11202: automatic line break
--------------------------+-------------------------------------------------
 Reporter:  Dunkelangst   |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  low           |   Milestone:  Unassigned
Component:  General       |     Version:  2.8.5     
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 WordPress 2.8.6 has got a Problem with the automatic line break. [[BR]]
 Example:[[BR]]
 Type the following comment in a WordPress Blog.
 {{{
 Thank you for your comment!<blockquote>this is a small quote</blockquote>
 Next Text
 }}}
 Then you have to save the comment. If you validate the your publish, you
 will see, that the sentence "Thank you for your comment!" will be put into
 the following absurd tags: [[BR]]

 {{{
 p>Thank you for your comment!<br />
 }}}

 If you write a comment with the following code (hit return after the word
 ''comment! ''),[[BR]]

 {{{
 Thank you for your comment!
 <blockquote>this is a small quote</blockquote> Next Text
 }}}
 you will get the right codeform when you validate your comment:
 {{{
 <p>Thank you for your comment!</p>
 }}}

 The same Problem exists when you type [[BR]]

 {{{
 test 2 <p> break </p> next text
 }}}
 After the word ''test 2'' you will miss the </p>. [[BR]]

 WordPress has got this bug with every single elements like these one:

 {{{
 <p>, <ul>, <ol>, <li>, <h1> bis <h6>, <div>, <blockquote> etc.
 }}}

 When you make manuell a new line in front of these elements, you won't
 find any problem, so WordPress must put an automatic line break in front
 of these elements and it doesen't do it. Please fix this nerved bug!!

 regards, Dunkelangst from http://www.dunkelangst.org/

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11202>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list