@@ -287,21 +287,25 @@ bar
287287Interpreted markdown in a table:
288288
289289<html>
290−<table>
291−<tr>
290+<table></html>
291+<html>
292+<tr></html>
293+<html>
292294<td></html>
293295This is //emphasized//
294296<html>
295−</td>
297+</td></html>
298+<html>
296299<td></html>
297300And this is **strong**
298301<html>
299−</td>
300−</tr>
301−</table>
302−
303−<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
304−</html>
302+</td></html>
303+<html>
304+</tr></html>
305+<html>
306+</table></html>
307+<html>
308+<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script></html>
305309Here’s a simple block:
306310
307311foo
@@ -323,52 +327,48 @@ foo
323327This should just be an HTML comment:
324328
325329<html>
326−<!-- Comment -->
327−</html>
330+<!-- Comment --></html>
328331Multiline:
329332
330333<html>
331334<!--
332335Blah
333336Blah
334−-->
335−
337+--></html>
338+<html>
336339<!--
337340 This is another comment.
338−-->
339−</html>
341+--></html>
340342Code block:
341343
342344<code><!-- Comment --></code>
343345Just plain comment, with trailing spaces on the line:
344346
345347<html>
346−<!-- foo -->
347−</html>
348+<!-- foo --></html>
348349Code:
349350
350351<code><hr /></code>
351352Hr’s:
352353
353354<html>
354−<hr>
355−
356−<hr />
357−
358−<hr />
359−
360−<hr>
361−
362−<hr />
363−
364−<hr />
365−
366−<hr class="foo" id="bar" />
367−
368−<hr class="foo" id="bar" />
369−
370−<hr class="foo" id="bar">
371−</html>
355+<hr></html>
356+<html>
357+<hr /></html>
358+<html>
359+<hr /></html>
360+<html>
361+<hr></html>
362+<html>
363+<hr /></html>
364+<html>
365+<hr /></html>
366+<html>
367+<hr class="foo" id="bar" /></html>
368+<html>
369+<hr class="foo" id="bar" /></html>
370+<html>
371+<hr class="foo" id="bar"></html>
372372
373373----
374374