diff options
author | Waylan Limberg <waylan@gmail.com> | 2013-02-06 13:42:03 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2013-02-06 13:42:03 -0500 |
commit | fdfa88b77eff39cda4716fdb49444f5e56d144ac (patch) | |
tree | 5eaf315fd910001cb8b5fff306d604dd487fad4c /tests/extensions/extra/def-in-list.txt | |
parent | 0b4ffbb60ef4a81cc6e5606ac40a42380077a690 (diff) | |
download | markdown-fdfa88b77eff39cda4716fdb49444f5e56d144ac.tar.gz markdown-fdfa88b77eff39cda4716fdb49444f5e56d144ac.tar.bz2 markdown-fdfa88b77eff39cda4716fdb49444f5e56d144ac.zip |
Account for a paragraph that starts with a colon when processing def_lists
Fixes #171. While that report provided an example of an unordered list item that started with a colon, any block that starts with a colon and has no siblings before it (paragraph as begining if document, list item, etc) all exhibit this same behavior. Following PHP Markdown Extra's lead, these are not definition items as they have no term before them.
Diffstat (limited to 'tests/extensions/extra/def-in-list.txt')
-rw-r--r-- | tests/extensions/extra/def-in-list.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/extensions/extra/def-in-list.txt b/tests/extensions/extra/def-in-list.txt new file mode 100644 index 0000000..7a292ab --- /dev/null +++ b/tests/extensions/extra/def-in-list.txt @@ -0,0 +1,15 @@ +: a paragraph that starts with a colon + +* A List item +* + A def term + : A def item + : a second + +* Another def term + + : a loose item + + : a second + +* : a list item that starts with a colon |