@@ -286,26 +286,35 @@ bar
287Interpreted markdown in a table:
287Interpreted markdown in a table:
290−<table></html>
290+<table>
295This is //emphasized//
298This is //emphasized//
297−</td></html>
300+</td>
300And this is **strong**
305And this is **strong**
302−</td></html>
307+</td>
304−</tr></html>
310+</tr>
306−</table></html>
313+</table>
308−<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script></html>
316+<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
309Here’s a simple block:
318Here’s a simple block:
@@ -326,49 +335,62 @@ foo
327This should just be an HTML comment:
336This should just be an HTML comment:
330−<!-- Comment --></html>
339+<!-- Comment -->
331Multiline:
341Multiline:
340 This is another comment.
351 This is another comment.
342Code block:
354Code block:
344<code><!-- Comment --></code>
356<code><!-- Comment --></code>
345Just plain comment, with trailing spaces on the line:
357Just plain comment, with trailing spaces on the line:
348−<!-- foo --></html>
360+<!-- foo -->
351<code><hr /></code>
364<code><hr /></code>
357−<hr /></html>
371+<hr />
359−<hr /></html>
374+<hr />
363−<hr /></html>
380+<hr />
365−<hr /></html>
383+<hr />
367−<hr class="foo" id="bar" /></html>
386+<hr class="foo" id="bar" />
369−<hr class="foo" id="bar" /></html>
389+<hr class="foo" id="bar" />
371−<hr class="foo" id="bar"></html>
392+<hr class="foo" id="bar">
@@ -424,7 +446,7 @@ Ellipses…and…and….
425====== LaTeX ======
447====== LaTeX ======
427− * \cite[22-23]{smith.1899}
449+ *
428 * <math>2+2=4</math>
450 * <math>2+2=4</math>
429 * <math>x \in y</math>
451 * <math>x \in y</math>
430 * <math>\alpha \wedge \omega</math>
452 * <math>\alpha \wedge \omega</math>
@@ -442,11 +464,7 @@ These shouldn’t be math:
443Here’s a LaTeX table:
465Here’s a LaTeX table:
445−\begin{tabular}{|l|l|}\hline
467+
446−Animal & Number \\ \hline
@@ -570,7 +588,7 @@ With an ampersand: http://example.com/?foo=1&bar=2
570 * http://example.com/
588 * http://example.com/
571 * It should.
589 * It should.
573−An e-mail address: [[mailto:nobody@nowhere.net|nobody@nowhere.net]]
591+An e-mail address: <nobody@nowhere.net>
575> Blockquoted: http://example.com/
593> Blockquoted: http://example.com/