[wp-hackers] p inside blockquote

Robin Adrianse robin.adr at gmail.com
Sat Mar 3 02:02:50 GMT 2007


I believe this is fixed in SVN. If you want I can dig up the ticket.

Better yet, it would be nice if you could try this in SVN, as my memory may
be failing ;).

On 3/2/07, Jeremy Visser <jeremy.visser at gmail.com> wrote:
>
> Scot Hacker wrote:
> > <div><p><img src="foo"/></div>
>
> Was that a typo, missing the </p>?
>
> Because I'm actually getting it for real on my blog. It's irritating,
> because it breaks all pages on my blog that feature this particular post.
>
> Here is the post in question:
>
>         http://narnia.bounceme.net/jeremy/2006/07/06/tvvcr-repair/
>
> (View it in Firefox to see the error.)
>
> Here is the offending markup, getting generated by wpautop or whatever
> generates it:
>
>         <div class="alert">
>         <h4>Joke Alert</h4>
>         <p>This guide is completely unserious. It is
>         <strong>not</strong> intended to be taken seriously, nor do I
>         expect you to perform any of the actions described here.
>         </div>
>
> Note the missing </p>.
>
> This is what appears in the post editor (quicktags editor, w/o the
> quicktags, as they're invisible when using the application/xhtml+xml
> mime-type for some reason) and what wpautop is meant to be properly
> wrapping the <p>s around:
>
>         <div class="alert">
>         <h4>Joke Alert</h4>
>         This guide is completely unserious. It is
>         <strong>not</strong> intended to be taken seriously, nor do I
>         expect you to perform any of the actions described here.
>         </div>
>
> I've even got WordPress set to automatically correct invalidly nested
> XHTML, but it's obviously not actually doing that correctly.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list