aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.html
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.html
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.html')
-rw-r--r--tests/writer.html23
1 files changed, 4 insertions, 19 deletions
diff --git a/tests/writer.html b/tests/writer.html
index d00b8ca66..bbe835720 100644
--- a/tests/writer.html
+++ b/tests/writer.html
@@ -346,9 +346,7 @@ And this is <strong>strong</strong>
</td>
</tr>
</table>
-
<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
-
<p>Here’s a simple block:</p>
<div>
foo
@@ -369,43 +367,30 @@ foo
</div>
<p>This should just be an HTML comment:</p>
<!-- Comment -->
-
<p>Multiline:</p>
<!--
Blah
Blah
-->
-
<!--
This is another comment.
-->
-
<p>Code block:</p>
<pre><code>&lt;!-- Comment --&gt;</code></pre>
<p>Just plain comment, with trailing spaces on the line:</p>
-<!-- foo -->
-
+<!-- foo -->
<p>Code:</p>
<pre><code>&lt;hr /&gt;</code></pre>
<p>Hr’s:</p>
<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 id="inline-markup">Inline Markup</h1>
<p>This is <em>emphasized</em>, and so <em>is this</em>.</p>