Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#23038 closed defect (bug) (fixed)

Editor deletes space from list item containing <a> and <pre>

Reported by: jikamens Owned by:
Priority: normal Milestone: 3.5
Component: Editor Version: 3.4.2
Severity: normal Keywords:
Cc: Focuses:

Description

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.

Change History (3)

#1 @ocean90
14 years ago

  • Keywords close added

That should be fixed with WordPress 3.5. Could reproduce it in 3.4.2 but not in 3.5.

I think there was also a ticket, but can't find it now.

#2 @azaozz
14 years ago

  • Resolutionfixed
  • Status newclosed

Confirmed as fixed in 3.5/TinyMCE 3.5.8+.

#3 @SergeyBiryukov
14 years ago

  • Keywords close removed
  • Milestone Awaiting Review3.5
Note: See TracTickets for help on using tickets.