mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
19 lines
774 B
XML
19 lines
774 B
XML
<fvdoc>
|
|
<div xmlns='http://www.w3.org/1999/xhtml'>
|
|
<div id='message'>
|
|
<p><code>foo</code> should not contain HTML unless declared in the type attribute</p>
|
|
</div>
|
|
<div id='explanation'>
|
|
<p>This element contains escaped HTML, but it has declared itself as "text".</p>
|
|
</div>
|
|
<div id='solution'>
|
|
<p>Use the <code>type</code> attribute to declare that this is HTML. For example, this is an invalid title in an Atom feed:</p>
|
|
|
|
<blockquote><p><code><title>My &lt;b&gt;Bold&lt;/b&gt; Title</title></code></p></blockquote>
|
|
|
|
<p>To make it valid, add the following attribute:</p>
|
|
|
|
<blockquote><p><code><title <strong>type="html"</strong>>My &lt;b&gt;Bold&lt;/b&gt; Title</title></code></p></blockquote>
|
|
</div>
|
|
</div>
|
|
</fvdoc>
|