mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-19 21:08:25 +00:00
30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<fvdoc>
|
|
<div xmlns='http://www.w3.org/1999/xhtml'>
|
|
<div id='message'>
|
|
<p><code>foo</code> should not contain HTML</p>
|
|
</div>
|
|
<div id='explanation'>
|
|
<p>This value appears to contain HTML markup. Be advised that clients
|
|
will behave unpredictably in the presence of such markup: some will
|
|
interpret it as HTML, others will strip it, and still others will
|
|
display the markup itself.</p>
|
|
</div>
|
|
<div id='solution'>
|
|
<p>Consider removing the markup.</p>
|
|
<p>If the purpose of the markup is to escape the use of an HTML entity, use
|
|
<a href="http://www.w3schools.com/tags/ref_entities.asp">this table</a>
|
|
to find the Entity Number to replace the escaped version of the Entity Name.
|
|
For example:</p>
|
|
<blockquote><code>&amp;copy;</code></blockquote>
|
|
<p>becomes:</p>
|
|
<blockquote><code>&#169;</code></blockquote>
|
|
<p>Encoding of the characters <code>"&"</code> and <code>"<"</code>
|
|
are especially problematic in places like RSS 2.0 titles.  For the widest
|
|
interop, the
|
|
<a href="http://www.rssboard.org/rss-profile#data-types-characterdata">RSS Profile</a>
|
|
recommends the use of the hexadecimal character reference
|
|
"<code>&#x26;</code>" to represent "<code>&</code>" and
|
|
"<code>&#x3C;</code>" to represent "<code><</code>".</p>
|
|
</div>
|
|
</div>
|
|
</fvdoc>
|