diff options
author | hftf <hftf@users.noreply.github.com> | 2017-10-27 18:45:00 -0400 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-27 18:45:00 -0400 |
commit | 7f8a3c6cb70e61666598873dbcea8ef45ab85b56 (patch) | |
tree | 74d187a1f0f57733ecd76b331f4259e1469204e2 /test/docx | |
parent | 2ddf08641d5e27046ae97ebd3cb4602025016ed5 (diff) | |
download | pandoc-7f8a3c6cb70e61666598873dbcea8ef45ab85b56.tar.gz |
Consistent underline for Readers (#2270)
* Added underlineSpan builder function. This can be easily updated if needed. The purpose is for Readers to transform underlines consistently.
* Docx Reader: Use underlineSpan and update test
* Org Reader: Use underlineSpan and add test
* Textile Reader: Use underlineSpan and add test case
* Txt2Tags Reader: Use underlineSpan and update test
* HTML Reader: Use underlineSpan and add test case
Diffstat (limited to 'test/docx')
-rw-r--r-- | test/docx/inline_formatting.native | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/docx/inline_formatting.native b/test/docx/inline_formatting.native index 22d8f79e8..a7aaf9999 100644 --- a/test/docx/inline_formatting.native +++ b/test/docx/inline_formatting.native @@ -1,5 +1,5 @@ [Para [Str "Regular",Space,Str "text",Space,Emph [Str "italics"],Space,Strong [Str "bold",Space,Emph [Str "bold",Space,Str "italics"]],Str "."] ,Para [Str "This",Space,Str "is",Space,SmallCaps [Str "Small",Space,Str "Caps"],Str ",",Space,Str "and",Space,Str "this",Space,Str "is",Space,Strikeout [Str "strikethrough"],Str "."] -,Para [Str "Some",Space,Str "people",Space,Str "use",Space,Emph [Str "single",Space,Str "underlines",Space,Str "for",Space,Emph [Str "emphasis"]],Str "."] +,Para [Str "Some",Space,Str "people",Space,Str "use",Space,Span ("",["underline"],[]) [Str "single",Space,Str "underlines",Space,Str "for",Space,Emph [Str "emphasis"]],Str "."] ,Para [Str "Above",Space,Str "the",Space,Str "line",Space,Str "is",Space,Superscript [Str "superscript"],Space,Str "and",Space,Str "below",Space,Str "the",Space,Str "line",Space,Str "is",Space,Subscript [Str "subscript"],Str "."] ,Para [Str "A",Space,Str "line",LineBreak,Str "break."]] |