[wp-trac] Re: [WordPress Trac] #7937: Problem with the wpautop
function ads a extra <p> tag if there is more span tag
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 21 14:21:11 GMT 2008
#7937: Problem with the wpautop function ads a extra <p> tag if there is more span
tag
-------------------------+--------------------------------------------------
Reporter: keithdsouza | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Template | Version: 2.7
Severity: normal | Resolution: invalid
Keywords: |
-------------------------+--------------------------------------------------
Changes (by azaozz):
* status: new => closed
* resolution: => invalid
* milestone: 2.7 =>
Comment:
This particular line in autop doesn't exist any more (as of yesterday),
however the replacement works the same way. Entering invalid XHTML as in
the example (missing base block around the <span>) could produce
unexpected results. You can either enter all <p> tags (valid XHTML) or you
can use the HTML editor and type:
{{{
hello
<span id="more-2689"></span>
hello1
}}}
In both cases it would work correctly.
--
Ticket URL: <http://trac.wordpress.org/ticket/7937#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list