@@ -287,21 +287,25 @@ bar
287Interpreted markdown in a table:
287Interpreted markdown in a table:
290−<table>
290+<table></html>
292<td></html>
294<td></html>
293This is //emphasized//
295This is //emphasized//
295−</td>
297+</td></html>
296<td></html>
299<td></html>
297And this is **strong**
300And this is **strong**
299−</td>
302+</td></html>
300−</tr>
304+</tr></html>
301−</table>
306+</table></html>
303−<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
308+<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script></html>
305Here’s a simple block:
309Here’s a simple block:
@@ -323,52 +327,48 @@ foo
323This should just be an HTML comment:
327This should just be an HTML comment:
326−<!-- Comment -->
330+<!-- Comment --></html>
328Multiline:
331Multiline:
337 This is another comment.
340 This is another comment.
339−</html>
341+--></html>
340Code block:
342Code block:
342<code><!-- Comment --></code>
344<code><!-- Comment --></code>
343Just plain comment, with trailing spaces on the line:
345Just plain comment, with trailing spaces on the line:
347−</html>
348+<!-- foo --></html>
350<code><hr /></code>
351<code><hr /></code>
356−<hr />
357+<hr /></html>
358−<hr />
359+<hr /></html>
362−<hr />
363+<hr /></html>
364−<hr />
365+<hr /></html>
366−<hr class="foo" id="bar" />
367+<hr class="foo" id="bar" /></html>
368−<hr class="foo" id="bar" />
369+<hr class="foo" id="bar" /></html>
370−<hr class="foo" id="bar">
371+<hr class="foo" id="bar"></html>