mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 10:16:32 +00:00
Docx reader: add tests for i18n headers.
This tests blockquotes and headers in Russian. Previous tests make sure that this doesn't produce a regression in en-us Header and Blockquotes.
This commit is contained in:
@@ -159,6 +159,10 @@ tests = [ testGroup "inlines"
|
||||
"headers in other languages"
|
||||
"docx/danish_headers.docx"
|
||||
"docx/danish_headers.native"
|
||||
, testCompare
|
||||
"i18n blocks (headers and blockquotes)"
|
||||
"docx/i18n_blocks.docx"
|
||||
"docx/i18n_blocks.native"
|
||||
, testCompare
|
||||
"lists"
|
||||
"docx/lists.docx"
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
[Header 1 ("this-is-heading-1",[],[]) [Str "This",Space,Str "is",Space,Str "Heading",Space,Str "1"]
|
||||
,Header 2 ("this-is-heading-2",[],[]) [Str "This",Space,Str "is",Space,Str "Heading",Space,Str "2"]
|
||||
,BlockQuote
|
||||
[Para [Str "This",Space,Str "is",Space,Str "Quote"]
|
||||
,Para [Str "This",Space,Str "is",Space,Str "Block",Space,Str "Text"]]
|
||||
,BulletList
|
||||
[[Para [Str "This",Space,Str "is",Space,Str "list",Space,Str "item",Space,Str "1"]]
|
||||
,[Para [Str "This",Space,Str "is",Space,Str "list",Space,Str "item",Space,Str "2"]]]]
|
||||
Reference in New Issue
Block a user