| >>> 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 < 5 and 7 > 2. | |
| Not HTML: <3>, <_a>, <></p> | |
| >>> "markdown" within a tag is not parsed | |
| Text <a href="_foo_">And "_foo_"</a>. | |
| <<< | |
| <p>Text <a href="_foo_">And "<em>foo</em>"</a>.</p> | |
| >>> unclosed processing instruction, comment, and CDATA with trailing > | |
| a <?pi > b <!--comment- > c <![CDATA[x > | |
| <<< | |
| <p>a <?pi > b <!--comment- > c <![CDATA[x ></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 <?y ></p> |