Message

foo should not contain HTML unless declared in the type attribute

Explanation

This element contains escaped HTML, but it has declared itself as "text".

Solution

Use the type attribute to declare that this is HTML. For example, this is an invalid title in an Atom feed:

<title>My &lt;b&gt;Bold&lt;/b&gt; Title</title>

To make it valid, add the following attribute:

<title type="html">My &lt;b&gt;Bold&lt;/b&gt; Title</title>

Not clear? Disagree?

Let us know on the feedvalidator-users discussion list!

Copyright © 2002-4 Mark Pilgrim and Sam Ruby