diff options
Diffstat (limited to 'tests/writer.html')
-rw-r--r-- | tests/writer.html | 37 |
1 files changed, 11 insertions, 26 deletions
diff --git a/tests/writer.html b/tests/writer.html index d00b8ca66..b56e81292 100644 --- a/tests/writer.html +++ b/tests/writer.html @@ -328,7 +328,7 @@ foo <div> <div> <div> -foo +<p>foo</p> </div> </div> <div> @@ -346,12 +346,10 @@ And this is <strong>strong</strong> </td> </tr> </table> - <script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script> - <p>Here’s a simple block:</p> <div> -foo +<p>foo</p> </div> <p>This should be a code block, though:</p> <pre><code><div> @@ -369,43 +367,30 @@ foo </div> <p>This should just be an HTML comment:</p> <!-- Comment --> - <p>Multiline:</p> <!-- Blah Blah --> - <!-- This is another comment. --> - <p>Code block:</p> <pre><code><!-- Comment --></code></pre> <p>Just plain comment, with trailing spaces on the line:</p> -<!-- foo --> - +<!-- foo --> <p>Code:</p> <pre><code><hr /></code></pre> <p>Hr’s:</p> <hr> - <hr /> - <hr /> - -<hr> - -<hr /> - -<hr /> - +<hr> +<hr /> +<hr /> <hr class="foo" id="bar" /> - <hr class="foo" id="bar" /> - <hr class="foo" id="bar"> - <hr /> <h1 id="inline-markup">Inline Markup</h1> <p>This is <em>emphasized</em>, and so <em>is this</em>.</p> @@ -495,7 +480,7 @@ Blah <p><script type="text/javascript"> <!-- h='nowhere.net';a='@';n='nobody';e=n+a+h; -document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>'); +document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'" clas'+'s="em' + 'ail">'+'Email link'+'<\/'+'a'+'>'); // --> </script><noscript>Email link (nobody at nowhere dot net)</noscript></p> <p><a href="">Empty</a>.</p> @@ -518,20 +503,20 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>') <p>Here’s an <a href="/script?foo=1&bar=2">inline link</a>.</p> <p>Here’s an <a href="/script?foo=1&bar=2">inline link in pointy braces</a>.</p> <h2 id="autolinks">Autolinks</h2> -<p>With an ampersand: <a href="http://example.com/?foo=1&bar=2">http://example.com/?foo=1&bar=2</a></p> +<p>With an ampersand: <a href="http://example.com/?foo=1&bar=2" class="uri">http://example.com/?foo=1&bar=2</a></p> <ul> <li>In a list?</li> -<li><a href="http://example.com/">http://example.com/</a></li> +<li><a href="http://example.com/" class="uri">http://example.com/</a></li> <li>It should.</li> </ul> <p>An e-mail address: <script type="text/javascript"> <!-- h='nowhere.net';a='@';n='nobody';e=n+a+h; -document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>'); +document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'" clas'+'s="em' + 'ail">'+e+'<\/'+'a'+'>'); // --> </script><noscript>nobody at nowhere dot net</noscript></p> <blockquote> -<p>Blockquoted: <a href="http://example.com/">http://example.com/</a></p> +<p>Blockquoted: <a href="http://example.com/" class="uri">http://example.com/</a></p> </blockquote> <p>Auto-links should not occur here: <code><http://example.com/></code></p> <pre><code>or here: <http://example.com/></code></pre> |