aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.textile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-07-07 15:47:51 -0600
committerJohn MacFarlane <jgm@berkeley.edu>2014-07-07 15:53:59 -0600
commite4263d306e6988dd322c895242eb818d22b9e012 (patch)
treed3f55381546316bece265028dd0beacad4fa4180 /tests/writer.textile
parent91b902f02f8224ea49ae26e7889a2c5032e2a79a (diff)
downloadpandoc-e4263d306e6988dd322c895242eb818d22b9e012.tar.gz
Revamped raw HTML block parsing in markdown.
- We no longer include trailing spaces and newlines in the raw blocks. - We look for closing tags for elements (but without backtracking). - Each block-level tag is its own RawBlock; we no longer try to consolidate them (though `--normalize` will do so). Closes #1330.
Diffstat (limited to 'tests/writer.textile')
-rw-r--r--tests/writer.textile23
1 files changed, 4 insertions, 19 deletions
diff --git a/tests/writer.textile b/tests/writer.textile
index 5042f79cb..159324e3a 100644
--- a/tests/writer.textile
+++ b/tests/writer.textile
@@ -393,9 +393,7 @@ And this is *strong*
</td>
</tr>
</table>
-
<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
-
Here's a simple block:
<div>
@@ -437,18 +435,15 @@ foo
This should just be an HTML comment:
<!-- Comment -->
-
Multiline:
<!--
Blah
Blah
-->
-
<!--
This is another comment.
-->
-
Code block:
bc. <!-- Comment -->
@@ -456,8 +451,7 @@ bc. <!-- Comment -->
Just plain comment, with trailing spaces on the line:
-<!-- foo -->
-
+<!-- foo -->
Code:
bc. <hr />
@@ -466,23 +460,14 @@ bc. <hr />
Hr's:
<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(#inline-markup). Inline Markup