foo claims to be inline, but may contain HTML.

This element appears to contain escaped HTML, but it has declared itself as "xhtml".

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 &lt;b&gt;Bold&lt;/b&gt; Content</div></content>

    To correct, remove the xhml:div and change the type attribute to html, thus:

    <content type="html">My &lt;b&gt;Bold&lt;/b&gt; 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>