Message
foo
claims to be inline, but may contain HTML.
Explanation
This element appears to contain escaped HTML, but it has declared itself as "xhtml".
Solution
Unless you intend for the markup to show, unescape the content or use the type
attribute to declare that this is HTML.
- Example:: entity escaped content declared as xhtml:
<content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">My <b>Bold</b> Content</div></content>
To correct, remove the
xhml:div
and change thetype
attribute tohtml
, thus:<content type="html">My <b>Bold</b> Title</content>
- Example:: CDATA escaped content declared as xhtml:
<content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><![CDATA[My <b>Bold</b> Content]]></div></content>
To correct, remove the
CDATA
, thus:<content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">My <b>Bold</b> Content</div></content>
Not clear? Disagree?
You might be able to find help in one of these fine resources.