[wp-trac] [WordPress Trac] #23038: Editor deletes space from list item containing <a> and <pre>

WordPress Trac noreply at wordpress.org
Fri Dec 21 14:37:32 UTC 2012


#23038: Editor deletes space from list item containing <a> and <pre>
-----------------------------+--------------------------
 Reporter:  jikamens         |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Editor
  Version:  3.4.2            |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 Compose a new page or post. In the visual editor, switch to HTML editing
 mode and enter exactly this text:

 {{{
 <ul>
 <li><a href="http://wordpress.org/">foo</a> bar
 <pre>baz</pre></li>
 </ul>
 }}}

 When you switch back to visual mode, the space before the word "bar" will
 be gone. No matter how many times you add it back, whether you add it in
 HTML or visual mode, when you save the page or post, the space will be
 deleted.

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


More information about the wp-trac mailing list