aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-12-13 14:05:33 -0500
committerWaylan Limberg <waylan@gmail.com>2012-12-13 14:05:33 -0500
commita8e06b7cef5c5b0b372b9a0db0f56c4e7094e2bd (patch)
tree9ecd110c42dedc349b12f0852bf6182025293c20 /tests/extensions
parente57b954a1f964ec0635d189c16d130c4e6ba5479 (diff)
downloadmarkdown-a8e06b7cef5c5b0b372b9a0db0f56c4e7094e2bd.tar.gz
markdown-a8e06b7cef5c5b0b372b9a0db0f56c4e7094e2bd.tar.bz2
markdown-a8e06b7cef5c5b0b372b9a0db0f56c4e7094e2bd.zip
Fixed #164. attr_list extension attribute names are now sanitized and won't crash the serealizer.
Diffstat (limited to 'tests/extensions')
-rw-r--r--tests/extensions/attr_list.html3
-rw-r--r--tests/extensions/attr_list.txt1
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/extensions/attr_list.html b/tests/extensions/attr_list.html
index 1e9c182..f50cd6a 100644
--- a/tests/extensions/attr_list.html
+++ b/tests/extensions/attr_list.html
@@ -14,4 +14,5 @@ And a <strong class="nest">nested <a class="linky2" href="http://example.com" ti
{: #someid .someclass }
</code></pre>
<h3 id="hash3">No colon for compatability with Headerid ext</h3>
-<p id="the_end">Also a codespan: <code class="foo">{: .someclass}</code>.</p> \ No newline at end of file
+<p id="the_end">Also a codespan: <code class="foo">{: .someclass}</code>.</p>
+<h3 _:="{:" id="hash5">Bad Syntax</h3> \ No newline at end of file
diff --git a/tests/extensions/attr_list.txt b/tests/extensions/attr_list.txt
index d7ed274..cd7f398 100644
--- a/tests/extensions/attr_list.txt
+++ b/tests/extensions/attr_list.txt
@@ -33,3 +33,4 @@ Now test overrides
Also a codespan: `{: .someclass}`{: .foo}.
{: #the_end}
+### Bad Syntax { {: #hash5 }