Opened 5 months ago

Closed 5 months ago

Last modified 5 months 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:

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)

  • 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.

  • Resolution set to fixed
  • Status changed from new to closed

Confirmed as fixed in 3.5/TinyMCE 3.5.8+.

  • Keywords close removed
  • Milestone changed from Awaiting Review to 3.5
Note: See TracTickets for help on using tickets.