Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#23038 closed defect (bug) (fixed)

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

Reported by: jikamens's profile jikamens Owned by:
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.4.2
Component: Editor Keywords:
Focuses: 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)

#1 @ocean90
12 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
12 years ago

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

Confirmed as fixed in 3.5/TinyMCE 3.5.8+.

#3 @SergeyBiryukov
12 years ago

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