[wp-trac] Re: [WordPress Trac] #7046: non visual editor inserting
unwanted code
WordPress Trac
wp-trac at lists.automattic.com
Wed May 28 01:17:10 GMT 2008
#7046: non visual editor inserting unwanted code
-----------------------------+----------------------------------------------
Reporter: newfoundnoise82 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by azaozz):
When using the HTML editor in WordPress, each new line is usually
converted to <br /> and two new lines to <p>. The tags are not shown to
keep the text more readable. Typing:
{{{
<span>
Hello World!
</span>
}}}
is different than typing:
{{{
<span>Hello World!</span>
}}}
Of course, bot of these will have to be wrapped in <p> tags, so the html
is compliant with the XHTML 1.0 specification.
The end result on the site should look like this:
{{{
<p><span>Hello World!</span></p>
<p>Some other text...</p>
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/7046#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list