Skip to content

Commit

Permalink
Add fixtures for a failing multitype list issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jhubert committed Mar 15, 2016
1 parent e3063bc commit 6ed7d62
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/export/test_docx.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class ConvertDocxToHtmlTestCase(DocXFixtureTestCaseFactory):
'missing_numbering',
'missing_style',
'nested_lists',
'nested_multitype_lists',
'nested_table_rowspan',
'nested_tables',
'no_break_hyphen',
Expand Down
Binary file added tests/fixtures/nested_multitype_lists.docx
Binary file not shown.
30 changes: 30 additions & 0 deletions tests/fixtures/nested_multitype_lists.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<ol class="pydocx-list-style-type-decimal">
<li>one</li>
<li>two</li>
<li>three
<ul>
<li>AAA</li>
<li>BBB</li>
<li>CCC
<ol class="pydocx-list-style-type-decimal">
<li>alpha</li>
</ol>
</li>
</ol>
</li>
<li>four</li>
</ol>
<ol class="pydocx-list-style-type-decimal">
<li>xxx
<ul>
<li>yyy</li>
</ul>
</li>
</ol>
<ul>
<li>www
<ol class="pydocx-list-style-type-decimal">
<li>zzz</li>
</ol>
</li>
</ul>

0 comments on commit 6ed7d62

Please sign in to comment.