aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/attr_list.html3
-rw-r--r--tests/extensions/attr_list.txt2
-rw-r--r--tests/extensions/extra/tables.html8
-rw-r--r--tests/misc/image.html4
-rw-r--r--tests/misc/image.txt6
5 files changed, 16 insertions, 7 deletions
diff --git a/tests/extensions/attr_list.html b/tests/extensions/attr_list.html
index 6eafd3e..8900de0 100644
--- a/tests/extensions/attr_list.html
+++ b/tests/extensions/attr_list.html
@@ -64,6 +64,7 @@ And a <strong class="nest">nested <a class="linky2" href="http://example.com" ti
<p>No <em>key or value</em></p>
<p><em>Weirdness</em></p>
<p><em>More weirdness</em></p>
+<p>This should not cause a <em foo="a=b">crash</em></p>
<p>Attr_lists do not contain <em>newlines</em>{ foo=bar
key=value }</p>
-<p>Extra <em foo="bar">equals signs</em></p> \ No newline at end of file
+<p>Extra <em foo="bar">equals signs</em></p>
diff --git a/tests/extensions/attr_list.txt b/tests/extensions/attr_list.txt
index 54ebcb6..c3d06df 100644
--- a/tests/extensions/attr_list.txt
+++ b/tests/extensions/attr_list.txt
@@ -88,6 +88,8 @@ No *key or value*{ = }
*More weirdness*{ === }
+This should not cause a *crash*{ foo=a=b }
+
Attr_lists do not contain *newlines*{ foo=bar
key=value }
diff --git a/tests/extensions/extra/tables.html b/tests/extensions/extra/tables.html
index 783c205..b5c08be 100644
--- a/tests/extensions/extra/tables.html
+++ b/tests/extensions/extra/tables.html
@@ -38,21 +38,21 @@
<table>
<thead>
<tr>
-<th>Item</th>
+<th align="left">Item</th>
<th align="right">Value</th>
</tr>
</thead>
<tbody>
<tr>
-<td>Computer</td>
+<td align="left">Computer</td>
<td align="right">$1600</td>
</tr>
<tr>
-<td>Phone</td>
+<td align="left">Phone</td>
<td align="right">$12</td>
</tr>
<tr>
-<td>Pipe</td>
+<td align="left">Pipe</td>
<td align="right">$1</td>
</tr>
</tbody>
diff --git a/tests/misc/image.html b/tests/misc/image.html
index aa24cef..1171e4e 100644
--- a/tests/misc/image.html
+++ b/tests/misc/image.html
@@ -1,3 +1,5 @@
<p><img alt="Poster" src="http://humane_man.jpg" title="The most humane man." /></p>
<p><img alt="Poster" src="http://humane_man.jpg" title="The most humane man." /></p>
-<p><img alt="Blank" src="" /></p> \ No newline at end of file
+<p><img alt="Blank" src="" /></p>
+<p>![Fail](http://humane man.jpg "The most humane man.")</p>
+<p>![Fail](http://humane man.jpg)</p> \ No newline at end of file
diff --git a/tests/misc/image.txt b/tests/misc/image.txt
index 41a8cf7..3fae16a 100644
--- a/tests/misc/image.txt
+++ b/tests/misc/image.txt
@@ -5,4 +5,8 @@
[Poster]:http://humane_man.jpg "The most humane man."
-![Blank]() \ No newline at end of file
+![Blank]()
+
+![Fail](http://humane man.jpg "The most humane man.")
+
+![Fail](http://humane man.jpg)