git.iko.soy/typeable/pandoc
on master help sign in
Updated dokuwiki tests for latest changes to testsuite.native.
3d2f2ecJohn MacFarlane
tests/writer.dokuwiki+35−35
@@ -287,21 +287,25 @@ bar
287Interpreted markdown in a table:
287Interpreted markdown in a table:
288
288
289<html>
289<html>
290−<table>
290+<table></html>
291+<html>
291−<tr>
292+<tr></html>
293+<html>
292<td></html>
294<td></html>
293This is //emphasized//
295This is //emphasized//
294<html>
296<html>
295−</td>
297+</td></html>
298+<html>
296<td></html>
299<td></html>
297And this is **strong**
300And this is **strong**
298<html>
301<html>
299−</td>
302+</td></html>
303+<html>
300−</tr>
304+</tr></html>
305+<html>
301−</table>
306+</table></html>
302−
307+<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>
304−</html>
305Here’s a simple block:
309Here’s a simple block:
306
310
307foo
311foo
@@ -323,52 +327,48 @@ foo
323This should just be an HTML comment:
327This should just be an HTML comment:
324
328
325<html>
329<html>
326−<!-- Comment -->
330+<!-- Comment --></html>
327−</html>
328Multiline:
331Multiline:
329
332
330<html>
333<html>
331<!--
334<!--
332Blah
335Blah
333Blah
336Blah
334−-->
337+--></html>
335−
338+<html>
336<!--
339<!--
337 This is another comment.
340 This is another comment.
338−-->
339−</html>
341+--></html>
340Code block:
342Code block:
341
343
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:
344
346
345<html>
347<html>
346−<!-- foo -->
347−</html>
348+<!-- foo --></html>
348Code:
349Code:
349
350
350<code><hr /></code>
351<code><hr /></code>
351Hr’s:
352Hr’s:
352
353
353<html>
354<html>
354−<hr>
355+<hr></html>
355−
356+<html>
356−<hr />
357+<hr /></html>
357−
358+<html>
358−<hr />
359+<hr /></html>
359−
360+<html>
360−<hr>
361+<hr></html>
361−
362+<html>
362−<hr />
363+<hr /></html>
363−
364+<html>
364−<hr />
365+<hr /></html>
365−
366+<html>
366−<hr class="foo" id="bar" />
367+<hr class="foo" id="bar" /></html>
367−
368+<html>
368−<hr class="foo" id="bar" />
369+<hr class="foo" id="bar" /></html>
369−
370+<html>
370−<hr class="foo" id="bar">
371+<hr class="foo" id="bar"></html>
371−</html>
372
372
373----
373----
374
374