aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2016-06-13 11:42:52 -0400
committerGitHub <noreply@github.com>2016-06-13 11:42:52 -0400
commit0e48b550d8d533c8cf24e5349bb9c7f6a19db1d2 (patch)
tree8c4e56ce5b37d24dd64d44da18276b61dd0da49d /tests/extensions
parenta96fee0591de5f3b628503591d1cad9d23d26140 (diff)
parent4fc04c6477914e26d8164b65238435c891f00108 (diff)
downloadmarkdown-0e48b550d8d533c8cf24e5349bb9c7f6a19db1d2.tar.gz
markdown-0e48b550d8d533c8cf24e5349bb9c7f6a19db1d2.tar.bz2
markdown-0e48b550d8d533c8cf24e5349bb9c7f6a19db1d2.zip
Merge pull request #483 from mitya57/master
Fix another issue with attribute lists (with multiple ‘=’ signs)
Diffstat (limited to 'tests/extensions')
-rw-r--r--tests/extensions/attr_list.html1
-rw-r--r--tests/extensions/attr_list.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/extensions/attr_list.html b/tests/extensions/attr_list.html
index 93a862f..29e400d 100644
--- a/tests/extensions/attr_list.html
+++ b/tests/extensions/attr_list.html
@@ -64,5 +64,6 @@ 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> \ No newline at end of file
diff --git a/tests/extensions/attr_list.txt b/tests/extensions/attr_list.txt
index 603b611..98f1cc7 100644
--- a/tests/extensions/attr_list.txt
+++ b/tests/extensions/attr_list.txt
@@ -88,5 +88,7 @@ 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 }