diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2016-09-23 19:36:40 -0400 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2016-09-23 19:36:40 -0400 |
commit | 8384d26981572cf500021e826a67164d69c5d75f (patch) | |
tree | 230cc03dad688fe11d3713e95d0bf5da2f89ca72 /tests | |
parent | 4747cf794b03920153a10ee7a8dd53011bf4802f (diff) | |
parent | 5f358c0d580bd409279cef1404e6460e7fe2156e (diff) | |
download | markdown-8384d26981572cf500021e826a67164d69c5d75f.tar.gz markdown-8384d26981572cf500021e826a67164d69c5d75f.tar.bz2 markdown-8384d26981572cf500021e826a67164d69c5d75f.zip |
Merge branch 'master' of https://github.com/waylan/Python-Markdown
Diffstat (limited to 'tests')
-rw-r--r-- | tests/extensions/attr_list.html | 3 | ||||
-rw-r--r-- | tests/extensions/attr_list.txt | 2 | ||||
-rw-r--r-- | tests/extensions/extra/tables.html | 8 | ||||
-rw-r--r-- | tests/misc/image.html | 4 | ||||
-rw-r--r-- | tests/misc/image.txt | 6 |
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) |