aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/extra/loose_def_list.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-09-02 10:22:49 -0400
committerWaylan Limberg <waylan@gmail.com>2013-09-02 10:22:49 -0400
commit78506014eceb3400d2fee3b39653753fae80939a (patch)
tree7de25175e7fbdcda144bbd3577eee5284346d7ac /tests/extensions/extra/loose_def_list.txt
parent5c4523e7956063d20d517ba9a33853a5541a1396 (diff)
downloadmarkdown-78506014eceb3400d2fee3b39653753fae80939a.tar.gz
markdown-78506014eceb3400d2fee3b39653753fae80939a.tar.bz2
markdown-78506014eceb3400d2fee3b39653753fae80939a.zip
Ensure each term on def list maintains its own loose status.
Previously, the code was ignoring whether this was a new term when determining whether the currect item should be loose or not. Fixes #243. Thanks for the report @Anomareh.
Diffstat (limited to 'tests/extensions/extra/loose_def_list.txt')
-rw-r--r--tests/extensions/extra/loose_def_list.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/extensions/extra/loose_def_list.txt b/tests/extensions/extra/loose_def_list.txt
index 24cd6a4..909d12b 100644
--- a/tests/extensions/extra/loose_def_list.txt
+++ b/tests/extensions/extra/loose_def_list.txt
@@ -18,3 +18,14 @@ term 3
more text
+term 4
+: not loose
+
+
+term 5
+
+: loose
+
+term 6
+: also not loose
+