From a9cd895467b3caa08d585458fdcbcc5525356493 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 24 Jan 2012 07:57:58 -0500 Subject: Fixes #64. Added sane_list extension. This is an extension which alters the behavior of lists to be less surprising. If turned out to be rather simple to code. I'm surprised no one had written it yet. I should note that this extension does not generate separate lists if different unordered list markers are used (`*` verses `-` verses `+`) The way the parser works that would be a little more tricky. --- tests/extensions/sane_lists.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/extensions/sane_lists.html (limited to 'tests/extensions/sane_lists.html') diff --git a/tests/extensions/sane_lists.html b/tests/extensions/sane_lists.html new file mode 100644 index 0000000..b9fe007 --- /dev/null +++ b/tests/extensions/sane_lists.html @@ -0,0 +1,21 @@ +
    +
  1. Ordered
  2. +
  3. List
  4. +
+ +
    +
  1. Ordered again
  2. +
+

Paragraph +* not a list item

+
    +
  1. More ordered +* not a list item
  2. +
+ \ No newline at end of file -- cgit v1.2.3