Invalid HTML: explanation
Common causes for this condition:
<
type
as xhtml
, but not changing
the default namespace from atom's to xhtml's.For elements intended to be rendered as HTML, like RSS
description
, make sure that all plain text content is escaped
first as HTML and then again as XML.
For Atom text constructs, you can use the type
attribute
to declare your intented usage: plain text
,
escaped html
or in-line xhtml
.