[wp-trac] Re: [WordPress Trac] #9765: Erroneous balanceTags call?
forceBalanceTags should be used?
WordPress Trac
wp-trac at lists.automattic.com
Sat May 9 09:32:50 GMT 2009
#9765: Erroneous balanceTags call? forceBalanceTags should be used?
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: 2.8
Component: Formatting | Version: 2.7
Severity: minor | Keywords: needs-patch
-------------------------------+--------------------------------------------
Comment(by Denis-de-Bernardy):
this case is also tricky (and was the reason I suggested the initial
patch:
{{{
<div>
<p>foo <!--more--></p>
</div>
}}}
the balanceTags call before the more tag, rather than after, prevents the
more link from being appended to the end of the paragraph.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9765#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list