[wp-trac] [WordPress Trac] #15564: <br> tags are stripped from posts on update/publish

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 24 16:14:03 UTC 2010


#15564: <br> tags are stripped from posts on update/publish
--------------------------+-------------------------------------------------
 Reporter:  markel        |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1            
 Severity:  major         |    Keywords:                 
--------------------------+-------------------------------------------------
 When using either the Visual Editor or the HTML editor, line breaks,
 either by entering the <br> tag or by using Shift+Return in the Visual
 Editor, are being stripped out when flipping from one mode to the other or
 when updating or publishing the post.

 This leave authors with no way to reliably insert whitespace without the
 use of non-breaking spaces or images.

 To reproduce:

  1. Create a new post.
  2. Populate it with some text as well as a few line breaks.
  3. Publish.

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


More information about the wp-trac mailing list