HTMLTokenSet's behavior for re-serializing statements seems to be wrong.
I'll whip up a patch and add testcases.
-Matt
> what happens is that if i view the source on any page of my site the
> doctype shows<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
> Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> everywhere,
> except when i'm viewing a single-entry page.
>
> if i do view a single-entry page and then bring up the source i get
> this<!HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
> www.w3.org/TR/html4/loose.dtd">
>
> As you can see the DOCTYPE is missing within the source if i view a
> single-entry page but not on a multiple-entry page, front page, search
> page, archive page or any other page on the site.
This should be fixed by the changes from [3619].
-Matt