diff --git a/lib/htmltoword/xslt/numbering.xslt b/lib/htmltoword/xslt/numbering.xslt index b713165..6ca03cf 100644 --- a/lib/htmltoword/xslt/numbering.xslt +++ b/lib/htmltoword/xslt/numbering.xslt @@ -72,26 +72,22 @@ - - - + + - + - + - - - - - + + - + @@ -99,31 +95,25 @@ - + - - - - - - - - - - - + - - - - - - - + + + + + + + + + + + @@ -165,13 +155,19 @@ - + + + 1 + + + + - + - + @@ -190,5 +186,4 @@ - diff --git a/spec/fixtures/wordml/lists_inline_elements.xml b/spec/fixtures/wordml/lists_inline_elements.xml index eaf0356..331f291 100644 --- a/spec/fixtures/wordml/lists_inline_elements.xml +++ b/spec/fixtures/wordml/lists_inline_elements.xml @@ -33,7 +33,7 @@ - + Text in a new line in div @@ -74,7 +74,7 @@ - + Text in a new line in div @@ -136,7 +136,7 @@ - + New paragraph @@ -180,7 +180,7 @@ - + New paragraph @@ -224,7 +224,7 @@ - + New paragraph @@ -268,7 +268,7 @@ - + New paragraph @@ -312,7 +312,7 @@ - + New paragraph diff --git a/spec/xslt_breaks_spec.rb b/spec/xslt_breaks_spec.rb index beb746b..f12a219 100644 --- a/spec/xslt_breaks_spec.rb +++ b/spec/xslt_breaks_spec.rb @@ -206,7 +206,7 @@ - + new line @@ -277,7 +277,7 @@ - + Text in div @@ -394,7 +394,7 @@ - + new line diff --git a/spec/xslt_lists_spec.rb b/spec/xslt_lists_spec.rb index 0f5d06d..f7fb682 100644 --- a/spec/xslt_lists_spec.rb +++ b/spec/xslt_lists_spec.rb @@ -387,42 +387,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -443,30 +407,39 @@ - - + + + + + - - + + + + + - - + + + + +