From be3abfc5f450c563636b47bdccc9194a90761459 Mon Sep 17 00:00:00 2001 From: Eddie Kohler Date: Mon, 16 Nov 2015 18:41:47 -0500 Subject: [PATCH] Fix handling of adjacent lists. An ordered list followed by an unordered list shouldn't be combined, even in non-smartLists mode. Should fix #530. --- test/new/adjacent_lists.html | 9 +++++++++ test/new/adjacent_lists.text | 5 +++++ test/tests/adjacent_lists.html | 9 +++++++++ test/tests/adjacent_lists.text | 5 +++++ 4 files changed, 28 insertions(+) create mode 100644 test/new/adjacent_lists.html create mode 100644 test/new/adjacent_lists.text create mode 100644 test/tests/adjacent_lists.html create mode 100644 test/tests/adjacent_lists.text diff --git a/test/new/adjacent_lists.html b/test/new/adjacent_lists.html new file mode 100644 index 0000000000..b4cd8f5086 --- /dev/null +++ b/test/new/adjacent_lists.html @@ -0,0 +1,9 @@ + + +
    +
  1. This should be
  2. +
  3. An unordered list
  4. +
diff --git a/test/new/adjacent_lists.text b/test/new/adjacent_lists.text new file mode 100644 index 0000000000..3fd460b3d7 --- /dev/null +++ b/test/new/adjacent_lists.text @@ -0,0 +1,5 @@ +* This should be +* An unordered list + +1. This should be +2. An unordered list diff --git a/test/tests/adjacent_lists.html b/test/tests/adjacent_lists.html new file mode 100644 index 0000000000..b4cd8f5086 --- /dev/null +++ b/test/tests/adjacent_lists.html @@ -0,0 +1,9 @@ + + +
    +
  1. This should be
  2. +
  3. An unordered list
  4. +
diff --git a/test/tests/adjacent_lists.text b/test/tests/adjacent_lists.text new file mode 100644 index 0000000000..3fd460b3d7 --- /dev/null +++ b/test/tests/adjacent_lists.text @@ -0,0 +1,5 @@ +* This should be +* An unordered list + +1. This should be +2. An unordered list