mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-23 07:55:45 +00:00
Add test for correctly trimming spaces in formatting.
This used to be fixed in the tree-walking. We need to make sure we're doing it right now.
This commit is contained in:
@@ -82,6 +82,10 @@ tests = [ testGroup "inlines"
|
||||
"normalizing inlines deep inside blocks"
|
||||
"docx.deep_normalize.docx"
|
||||
"docx.deep_normalize.native"
|
||||
, testCompare
|
||||
"move trailing spaces outside of formatting"
|
||||
"docx.trailing_spaces_in_formatting.docx"
|
||||
"docx.trailing_spaces_in_formatting.native"
|
||||
]
|
||||
, testGroup "blocks"
|
||||
[ testCompare
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
[Para [Str "Turn",Space,Str "my",Space,Emph [Str "formatting"],Space,Str "off",Space,Str "after",Space,Str "the",Space,Str "spaces."]]
|
||||
Reference in New Issue
Block a user