blob: 0bfa941bf9a595ef9b9ca4c080edb66c3deae51d [file] [edit]
>>> within a paragraph
Within a <em class="x">paragraph</EM>.
<<<
<p>Within a <em class="x">paragraph</EM>.</p>
>>> not HTML
Obviously, 3 < 5 and 7 > 2.
Not HTML: <3>, <_a>, <>
<<<
<p>Obviously, 3 &lt; 5 and 7 &gt; 2.
Not HTML: &lt;3&gt;, &lt;_a&gt;, &lt;&gt;</p>
>>> "markdown" within a tag is not parsed
Text <a href="_foo_">And "_foo_"</a>.
<<<
<p>Text <a href="_foo_">And &quot;<em>foo</em>&quot;</a>.</p>
>>> unclosed processing instruction, comment, and CDATA with trailing >
a <?pi > b <!--comment- > c <![CDATA[x >
<<<
<p>a &lt;?pi &gt; b &lt;!--comment- &gt; c &lt;![CDATA[x &gt;</p>
>>> minimal processing instruction, comment, CDATA, and declaration
a <??> <!----> <![CDATA[]]> <!x>
<<<
<p>a <??> <!----> <![CDATA[]]> <!x></p>
>>> closer before the opener does not count
a <?x?> b <?y >
<<<
<p>a <?x?> b &lt;?y &gt;</p>