aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/attr_list.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-07-19 21:18:18 -0400
committerWaylan Limberg <waylan@gmail.com>2013-07-19 21:18:18 -0400
commitfbfa42dfafaa7b129c864cc359f9e6697887dab3 (patch)
tree2e169385c7380d2b3781f9553b975971bdbcc271 /tests/extensions/attr_list.html
parenteffa7a8aaace52b466fdd19ffd97e5e33e2a9a3a (diff)
downloadmarkdown-fbfa42dfafaa7b129c864cc359f9e6697887dab3.tar.gz
markdown-fbfa42dfafaa7b129c864cc359f9e6697887dab3.tar.bz2
markdown-fbfa42dfafaa7b129c864cc359f9e6697887dab3.zip
Allow inline attr_lists at end of header.
A header can be only one line - so unlike other block level elements, a attr_list must be at th eend of the line. To disingush it from an inline attr_list on the last child in a header, we must require at least one space before th eblock-level attrt_list. Always intended it to work that way. Not sure how I missed that before. At least we're testing for it now.
Diffstat (limited to 'tests/extensions/attr_list.html')
-rw-r--r--tests/extensions/attr_list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extensions/attr_list.html b/tests/extensions/attr_list.html
index b1ed85c..ad965fd 100644
--- a/tests/extensions/attr_list.html
+++ b/tests/extensions/attr_list.html
@@ -32,7 +32,7 @@ And a <strong class="nest">nested <a class="linky2" href="http://example.com" ti
</li>
<li>Item5</li>
</ul>
-<p>And ordered lists too:</p>
+<h1>And ordered lists <em class="inline">too</em></h1>
<ol>
<li class="item">Item1</li>
<li class="item">Item2<ol>