Use custom HTML serializer to produce valid XHTML output