From 78506014eceb3400d2fee3b39653753fae80939a Mon Sep 17 00:00:00 2001
From: Waylan Limberg
Date: Mon, 2 Sep 2013 10:22:49 -0400
Subject: 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.
---
tests/extensions/extra/loose_def_list.html | 12 +++++++++++-
tests/extensions/extra/loose_def_list.txt | 11 +++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
(limited to 'tests')
diff --git a/tests/extensions/extra/loose_def_list.html b/tests/extensions/extra/loose_def_list.html
index 98fdec8..0de6eb6 100644
--- a/tests/extensions/extra/loose_def_list.html
+++ b/tests/extensions/extra/loose_def_list.html
@@ -18,4 +18,14 @@ line 2 of def 2-1
par 2 of def2-2
-more text
\ No newline at end of file
+more text
+
+- term 4
+- not loose
+- term 5
+-
+
loose
+
+- term 6
+- also not loose
+
\ No newline at end of file
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
+
--
cgit v1.2.3