mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
86 lines
3.7 KiB
HTML
Executable file
86 lines
3.7 KiB
HTML
Executable file
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
<head>
|
|
<title>foo claims to be inline, but may contain HTML.</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<style type="text/css" media="screen">@import "../../css/common.css";
|
|
@import "../../css/documentation.css";</style>
|
|
<script type="text/javascript"><!-- --></script>
|
|
<link rel="start" href="http://feedvalidator.org/docs/" title="Home" />
|
|
</head>
|
|
<body>
|
|
<div id="logo">
|
|
<h1><a href="../../"><span id="feed"><span id="f">F</span><span id="e1">E</span><span id="e2">E</span></span><span id="d">D</span> Validator</a></h1>
|
|
<p>Documentation</p>
|
|
<a class="skip" href="#startnavigation">Jump to navigation</a>
|
|
</div> <!--logo-->
|
|
|
|
<div id="main">
|
|
<h2>Message</h2>
|
|
<div class="docbody">
|
|
<p><code>foo</code> claims to be inline, but may contain HTML.</p>
|
|
</div>
|
|
<h2>Explanation</h2>
|
|
|
|
<div class="docbody">
|
|
<p>This element appears to contain escaped HTML, but it has declared itself as "xhtml".</p>
|
|
</div>
|
|
<h2>Solution</h2>
|
|
<div class="docbody">
|
|
<p>Unless you intend for the markup to show, unescape the content or use the <code>type</code> attribute to declare that this is HTML.</p>
|
|
|
|
<ul>
|
|
<li><strong>Example:</strong>: entity escaped content declared as xhtml:
|
|
<blockquote><p><code><content <b>type="xhtml"</b>><b><div xmlns="http://www.w3.org/1999/xhtml"></b>My &lt;b&gt;Bold&lt;/b&gt; Content<b></div></b></content></code></p></blockquote>
|
|
|
|
<p>To correct, remove the <code>xhml:div</code> and change the
|
|
<code>type</code> attribute to <code>html</code>, thus:</p>
|
|
|
|
<blockquote><p><code><content <strong>type="html"</strong>>My &lt;b&gt;Bold&lt;/b&gt; Title</content></code></p></blockquote>
|
|
</li>
|
|
<li><strong>Example:</strong>: CDATA escaped content declared as xhtml:
|
|
<blockquote><p><code><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><b><![CDATA[</b>My <b>Bold</b> Content<b>]]></b></div></content></code></p></blockquote>
|
|
|
|
<p>To correct, remove the <code>CDATA</code>, thus:</p>
|
|
|
|
<blockquote><p><code><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">My <b>Bold</b> Content</div></content></code></p></blockquote>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<h2>Not clear? Disagree?</h2>
|
|
<div class="docbody">
|
|
<p>Let us know on the <a href="http://lists.sourceforge.net/lists/listinfo/feedvalidator-users">feedvalidator-users</a> discussion list!</p>
|
|
</div>
|
|
|
|
</div><!--main-->
|
|
<div class="centered">
|
|
<a name="startnavigation" id="startnavigation"></a>
|
|
<div class="navbarWrapper">
|
|
<div class="navbarContent">
|
|
<img class="borderTL" src="../../images/borderTL.gif" alt="" width="14" height="14" />
|
|
<img class="borderTR" src="../../images/borderTR.gif" alt="" width="14" height="14" />
|
|
|
|
<p>
|
|
<a href="../../">Home</a> ·
|
|
<a href="../../about.html">About</a> ·
|
|
<a href="../../news/">News</a> ·
|
|
<a href="../../docs/">Docs</a> ·
|
|
<a href="../../terms.html">Terms</a>
|
|
</p>
|
|
|
|
<div class="roundedCornerSpacer"> </div>
|
|
</div><!-- .content -->
|
|
<div class="bottomCorners">
|
|
<img class="borderBL" src="../../images/borderBL.gif" alt="" width="14" height="14" />
|
|
<img class="borderBR" src="../../images/borderBR.gif" alt="" width="14" height="14" />
|
|
</div><!-- .bottomCorners -->
|
|
</div><!-- .contentWrapper -->
|
|
</div><!-- .centered -->
|
|
|
|
<div class="centered">
|
|
<address>Copyright © 2002-4 <a href="http://diveintomark.org/">Mark Pilgrim</a> and <a href="http://www.intertwingly.net/blog/">Sam Ruby</a></address>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|