diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-06-29 21:31:44 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-06-29 21:31:44 -0700 |
commit | aad618d9dbd68d5ea625945d23674befddf3a072 (patch) | |
tree | 59041fd81a80921a0925feebb24877a7ff6c4add /tests | |
parent | 45d26fd01adc3aa14dd090f3faedf9d47718b54f (diff) | |
parent | 1405e7b7091dedb50578c9e0cafd62f2c77ca689 (diff) | |
download | pandoc-aad618d9dbd68d5ea625945d23674befddf3a072.tar.gz |
Merge pull request #1386 from jkr/hanging_indent
Fix hanging indent behavior
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Readers/Docx.hs | 4 | ||||
-rw-r--r-- | tests/docx.hanging_indent.docx | bin | 0 -> 29924 bytes | |||
-rw-r--r-- | tests/docx.hanging_indent.native | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs index 8c51217cf..a379bbf23 100644 --- a/tests/Tests/Readers/Docx.hs +++ b/tests/Tests/Readers/Docx.hs @@ -113,6 +113,10 @@ tests = [ testGroup "inlines" "docx.block_quotes.docx" "docx.block_quotes_parse_indent.native" , testCompare + "hanging indents" + "docx.hanging_indent.docx" + "docx.hanging_indent.native" + , testCompare "tables" "docx.tables.docx" "docx.tables.native" diff --git a/tests/docx.hanging_indent.docx b/tests/docx.hanging_indent.docx Binary files differnew file mode 100644 index 000000000..6f62dc731 --- /dev/null +++ b/tests/docx.hanging_indent.docx diff --git a/tests/docx.hanging_indent.native b/tests/docx.hanging_indent.native new file mode 100644 index 000000000..138a6967f --- /dev/null +++ b/tests/docx.hanging_indent.native @@ -0,0 +1,3 @@ +[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "hanging",Space,Str "indent,",Space,Str "with",Space,Str "the",Space,Str "left",Space,Str "side",Space,Str "set",Space,Str "to",Space,Str "the",Space,Str "left",Space,Str "margin,",Space,Str "and",Space,Str "it",Space,Str "wraps",Space,Str "around",Space,Str "the",Space,Str "line."] +,BlockQuote + [Para [Str "Five",Space,Str "years",Space,Str "have",Space,Str "passed,",Space,Str "five",Space,Str "summers",Space,Str "with",Space,Str "the",Space,Str "length"]]] |