[wp-trac] [WordPress Trac] #7345: TinyMCE adds extra spaces after
HTML element close
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 18 15:52:58 GMT 2008
#7345: TinyMCE adds extra spaces after HTML element close
---------------------+------------------------------------------------------
Reporter: meta | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: TinyMCE | Version:
Severity: normal | Keywords: space, tag, element, html
---------------------+------------------------------------------------------
To reproduce:
In HTML mode, enter
{{{<p>I like <a href="http://www.yahoo.com/">Yahoo</a>, not Google.</p>}}}
Switch to visual mode and everything looks OK.
However, if you (a) save the post and re-open it for editing, or (b)
switch back to HTML mode, you'll see that there is now a space between the
</a> and the comma.
So it appears that the conversion from the visual/rich text mode to HTML
is adding gratuitous spaces after every closing HTML element. This drives
me crazy as it means I have to edit everything in raw HTML mode or my
punctuation gets messed up.
Using Firefox 3, current SVN version of Wordpress.
--
Ticket URL: <http://trac.wordpress.org/ticket/7345>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list