diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2016-06-12 21:12:10 -0400 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2016-06-12 21:12:58 -0400 |
commit | a96fee0591de5f3b628503591d1cad9d23d26140 (patch) | |
tree | 4051895137aa99dd6a965f65f14a350e612c41da /tests/extensions | |
parent | f3f768770ea62ff567c229b342ca0dca79b9da3c (diff) | |
download | markdown-a96fee0591de5f3b628503591d1cad9d23d26140.tar.gz markdown-a96fee0591de5f3b628503591d1cad9d23d26140.tar.bz2 markdown-a96fee0591de5f3b628503591d1cad9d23d26140.zip |
Attribute lists are not permitted to contain newlines. Fixes #482.
Diffstat (limited to 'tests/extensions')
-rw-r--r-- | tests/extensions/attr_list.html | 4 | ||||
-rw-r--r-- | tests/extensions/attr_list.txt | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/extensions/attr_list.html b/tests/extensions/attr_list.html index 2a36dbc..93a862f 100644 --- a/tests/extensions/attr_list.html +++ b/tests/extensions/attr_list.html @@ -63,4 +63,6 @@ And a <strong class="nest">nested <a class="linky2" href="http://example.com" ti <p>Value without <em>key</em></p> <p>No <em>key or value</em></p> <p><em>Weirdness</em></p> -<p><em>More weirdness</em></p>
\ No newline at end of file +<p><em>More weirdness</em></p> +<p>Attr_lists do not contain <em>newlines</em>{ foo=bar +key=value }</p>
\ No newline at end of file diff --git a/tests/extensions/attr_list.txt b/tests/extensions/attr_list.txt index c2adbf4..603b611 100644 --- a/tests/extensions/attr_list.txt +++ b/tests/extensions/attr_list.txt @@ -88,3 +88,5 @@ No *key or value*{ = } *More weirdness*{ === } +Attr_lists do not contain *newlines*{ foo=bar +key=value } |