From 40da6c402beb64e47838254c04228098129165df Mon Sep 17 00:00:00 2001 From: niszet Date: Thu, 1 Apr 2021 08:44:34 +0900 Subject: Treat tabs as spaces in ODT Reader. (#7185) --- test/Tests/Readers/Odt.hs | 1 + test/odt/native/tab.native | 1 + test/odt/odt/tab.odt | Bin 0 -> 10170 bytes 3 files changed, 2 insertions(+) create mode 100644 test/odt/native/tab.native create mode 100644 test/odt/odt/tab.odt (limited to 'test') diff --git a/test/Tests/Readers/Odt.hs b/test/Tests/Readers/Odt.hs index 9b5ec6b9e..edff4fe2c 100644 --- a/test/Tests/Readers/Odt.hs +++ b/test/Tests/Readers/Odt.hs @@ -176,6 +176,7 @@ namesOfTestsComparingToNative = [ "blockquote" , "referenceToText" , "simpleTable" , "simpleTableWithCaption" + , "tab" -- , "table" , "textMixedStyles" , "tableWithContents" diff --git a/test/odt/native/tab.native b/test/odt/native/tab.native new file mode 100644 index 000000000..948e81cd5 --- /dev/null +++ b/test/odt/native/tab.native @@ -0,0 +1 @@ +[Para [Str "Three",Space,Str "tabs",Space,Str "between",Space,Str "A",Space,Str "and",Space,Str "B",Space,Str "will",Space,Str "be",Space,Str "converted",Space,Str "to",Space,Str "one",Space,Str "Space:",Space,Str "A",Space,Str "B."]] \ No newline at end of file diff --git a/test/odt/odt/tab.odt b/test/odt/odt/tab.odt new file mode 100644 index 000000000..a2c80f45c Binary files /dev/null and b/test/odt/odt/tab.odt differ -- cgit v1.2.3