From ea4af0db29a86466e4b8b9e694299054565a29ca Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sun, 16 Jun 2013 22:24:28 -0400 Subject: Attr_List Extension now support attr_lists on nested lists. A list item with a nested list complicates were the attr_list can be. Fixes #218. Thanks for the report @jpzimmer. --- tests/extensions/attr_list.html | 13 ++++++++++++- tests/extensions/attr_list.txt | 11 +++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/extensions/attr_list.html b/tests/extensions/attr_list.html index f50cd6a..b1032f9 100644 --- a/tests/extensions/attr_list.html +++ b/tests/extensions/attr_list.html @@ -15,4 +15,15 @@ And a nested

No colon for compatability with Headerid ext

Also a codespan: {: .someclass}.

-

Bad Syntax

\ No newline at end of file +

Bad Syntax

+
    +
  • Item1
  • +
  • Item2
      +
    • Item2-1
    • +
    +
  • +
  • Item3
      +
    • Item3-1
    • +
    +
  • +
\ No newline at end of file diff --git a/tests/extensions/attr_list.txt b/tests/extensions/attr_list.txt index cd7f398..959c117 100644 --- a/tests/extensions/attr_list.txt +++ b/tests/extensions/attr_list.txt @@ -34,3 +34,14 @@ Also a codespan: `{: .someclass}`{: .foo}. {: #the_end} ### Bad Syntax { {: #hash5 } + +* Item1 + {: .item } +* Item2 + {: .item } + * Item2-1 + {: .subitem } +* _Item3_{: .emph } + {: .item } + * _Item3-1_{: .emph } + {: .subitem } -- cgit v1.2.3