From 200ea336418af609fb526ce47755c48e10da0183 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 7 Dec 2010 21:49:10 -0800 Subject: Made --smart work with RST reader. --- src/Text/Pandoc/Readers/RST.hs | 5 ++-- tests/rst-reader.native | 66 +++++++++++++++++++++--------------------- tests/tables-rstsubset.native | 30 +++++++++---------- 3 files changed, 51 insertions(+), 50 deletions(-) diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs index a39a46117..f9a907f75 100644 --- a/src/Text/Pandoc/Readers/RST.hs +++ b/src/Text/Pandoc/Readers/RST.hs @@ -57,7 +57,7 @@ underlineChars = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" -- treat these as potentially non-text when parsing inline: specialChars :: [Char] -specialChars = "\\`|*_<>$:[-" +specialChars = "\\`|*_<>$:[-.\"'" -- -- parsing documents @@ -679,7 +679,8 @@ table = gridTable False <|> simpleTable False <|> -- inline :: GenParser Char ParserState Inline -inline = choice [ link +inline = choice [ smartPunctuation inline + , link , str , whitespace , endline diff --git a/tests/rst-reader.native b/tests/rst-reader.native index b79d35bd9..2cb0ef8ae 100644 --- a/tests/rst-reader.native +++ b/tests/rst-reader.native @@ -4,27 +4,27 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ": [ [ Plain [Str "3"] ] ]) ] , Header 1 [Str "Level",Space,Str "one",Space,Str "header"] -, Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",Space,Str "John",Space,Str "Gruber's",Space,Str "markdown",Space,Str "test",Space,Str "suite."] +, Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc",Str ".",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",Space,Str "John",Space,Str "Gruber",Apostrophe,Str "s",Space,Str "markdown",Space,Str "test",Space,Str "suite",Str "."] , Header 2 [Str "Level",Space,Str "two",Space,Str "header"] , Header 3 [Str "Level",Space,Str "three"] , Header 4 [Str "Level",Space,Str "four",Space,Str "with",Space,Emph [Str "emphasis"]] , Header 5 [Str "Level",Space,Str "five"] , Header 1 [Str "Paragraphs"] -, Para [Str "Here's",Space,Str "a",Space,Str "regular",Space,Str "paragraph."] -, Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",Space,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",Space,Str "item.",Space,Str "Because",Space,Str "a",Space,Str "hard",Str "-",Str "wrapped",Space,Str "line",Space,Str "in",Space,Str "the",Space,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",Space,Str "a",Space,Str "list",Space,Str "item."] -, Para [Str "Here's",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",Space,Str "*",Space,Str "criminey."] +, Para [Str "Here",Apostrophe,Str "s",Space,Str "a",Space,Str "regular",Space,Str "paragraph",Str "."] +, Para [Str "In",Space,Str "Markdown",Space,Str "1",Str ".",Str "0",Str ".",Str "0",Space,Str "and",Space,Str "earlier",Str ".",Space,Str "Version",Space,Str "8",Str ".",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",Space,Str "item",Str ".",Space,Str "Because",Space,Str "a",Space,Str "hard",Str "-",Str "wrapped",Space,Str "line",Space,Str "in",Space,Str "the",Space,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",Space,Str "a",Space,Str "list",Space,Str "item",Str "."] +, Para [Str "Here",Apostrophe,Str "s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet",Str ".",Space,Str "*",Space,Str "criminey",Str "."] , Para [Str "Horizontal",Space,Str "rule",Str ":"] , HorizontalRule , Para [Str "Another",Str ":"] , HorizontalRule , Header 1 [Str "Block",Space,Str "Quotes"] -, Para [Str "Here's",Space,Str "a",Space,Str "block",Space,Str "quote",Str ":"] +, Para [Str "Here",Apostrophe,Str "s",Space,Str "a",Space,Str "block",Space,Str "quote",Str ":"] , BlockQuote - [ Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",Space,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."] ] + [ Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote",Str ".",Space,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short",Str "."] ] -, Para [Str "Here's",Space,Str "another,",Space,Str "differently",Space,Str "indented",Str ":"] +, Para [Str "Here",Apostrophe,Str "s",Space,Str "another,",Space,Str "differently",Space,Str "indented",Str ":"] , BlockQuote - [ Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",Space,Str "It's",Space,Str "indented",Space,Str "with",Space,Str "a",Space,Str "tab."] + [ Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote",Str ".",Space,Str "It",Apostrophe,Str "s",Space,Str "indented",Space,Str "with",Space,Str "a",Space,Str "tab",Str "."] , Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote",Str ":"] , CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}" , Para [Str "List",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote",Str ":"] @@ -100,9 +100,9 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ": , [ Para [Str "Three"] ] ] , Para [Str "Multiple",Space,Str "paragraphs",Str ":"] , OrderedList (1,Decimal,Period) - [ [ Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."] - , Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog's",Space,Str "back."] ], [ Para [Str "Item",Space,Str "2."] ] - , [ Para [Str "Item",Space,Str "3."] ] ] + [ [ Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one",Str "."] + , Para [Str "Item",Space,Str "1",Str ".",Space,Str "graf",Space,Str "two",Str ".",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog",Apostrophe,Str "s",Space,Str "back",Str "."] ], [ Para [Str "Item",Space,Str "2",Str "."] ] + , [ Para [Str "Item",Space,Str "3",Str "."] ] ] , Para [Str "Nested",Str ":"] , BulletList [ [ Para [Str "Tab"] @@ -111,7 +111,7 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ": , BulletList [ [ Plain [Str "Tab"] ] ] ] ] ] ] -, Para [Str "Here's",Space,Str "another",Str ":"] +, Para [Str "Here",Apostrophe,Str "s",Space,Str "another",Str ":"] , OrderedList (1,Decimal,Period) [ [ Para [Str "First"] ] , [ Para [Str "Second",Str ":"] @@ -135,7 +135,7 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ": , OrderedList (1,UpperAlpha,Period) [ [ Para [Str "Upper",Space,Str "Alpha"] , OrderedList (1,UpperRoman,Period) - [ [ Para [Str "Upper",Space,Str "Roman."] + [ [ Para [Str "Upper",Space,Str "Roman",Str "."] , OrderedList (6,Decimal,TwoParens) [ [ Para [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"] , OrderedList (3,LowerAlpha,OneParen) @@ -143,10 +143,10 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ": ] ] ] ] ] ] ] , Para [Str "Autonumbering",Str ":"] , OrderedList (1,DefaultStyle,DefaultDelim) - [ [ Plain [Str "Autonumber."] ] - , [ Para [Str "More."] + [ [ Plain [Str "Autonumber",Str "."] ] + , [ Para [Str "More",Str "."] , OrderedList (1,DefaultStyle,DefaultDelim) - [ [ Plain [Str "Nested."] ] + [ [ Plain [Str "Nested",Str "."] ] ] ] ] , Para [Str "Autonumbering",Space,Str "with",Space,Str "explicit",Space,Str "start",Str ":"] , OrderedList (4,LowerAlpha,TwoParens) @@ -155,34 +155,34 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ": , Header 2 [Str "Definition"] , DefinitionList [ ([Str "term",Space,Str "1"], - [ [ Para [Str "Definition",Space,Str "1."] ] + [ [ Para [Str "Definition",Space,Str "1",Str "."] ] ]) , ([Str "term",Space,Str "2"], - [ [ Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "1."] - , Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "2."] ]]) + [ [ Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "1",Str "."] + , Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "2",Str "."] ]]) , ([Str "term",Space,Str "with",Space,Emph [Str "emphasis"]], - [ [ Para [Str "Definition",Space,Str "3."] ] + [ [ Para [Str "Definition",Space,Str "3",Str "."] ] ]) ] , Header 1 [Str "Field",Space,Str "Lists"] , DefinitionList [ ([Str "address"], - [ [ Plain [Str "61",Space,Str "Main",Space,Str "St."] ] + [ [ Plain [Str "61",Space,Str "Main",Space,Str "St",Str "."] ] ]) , ([Str "city"], [ [ Plain [Emph [Str "Nowhere"],Str ",",Space,Str "MA,",Space,Str "USA"] ] ]) , ([Str "phone"], - [ [ Plain [Str "123",Str "-",Str "4567"] ] + [ [ Plain [Str "123",EnDash,Str "4567"] ] ]) ] , DefinitionList [ ([Str "address"], - [ [ Plain [Str "61",Space,Str "Main",Space,Str "St."] ] + [ [ Plain [Str "61",Space,Str "Main",Space,Str "St",Str "."] ] ]) , ([Str "city"], [ [ Plain [Emph [Str "Nowhere"],Str ",",Space,Str "MA,",Space,Str "USA"] ] ]) , ([Str "phone"], - [ [ Plain [Str "123",Str "-",Str "4567"] ] + [ [ Plain [Str "123",EnDash,Str "4567"] ] ]) ] , Header 1 [Str "HTML",Space,Str "Blocks"] , Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line",Str ":"] @@ -203,10 +203,10 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ": , [ Plain [Str "section",Str ":",Space,Str "\167"] ] , [ Plain [Str "set",Space,Str "membership",Str ":",Space,Str "\8712"] ] , [ Plain [Str "copyright",Str ":",Space,Str "\169"] ] ] -, Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."] -, Para [Str "This",Space,Str "&",Space,Str "that."] -, Para [Str "4",Space,Str "<",Space,Str "5."] -, Para [Str "6",Space,Str ">",Space,Str "5."] +, Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name",Str "."] +, Para [Str "This",Space,Str "&",Space,Str "that",Str "."] +, Para [Str "4",Space,Str "<",Space,Str "5",Str "."] +, Para [Str "6",Space,Str ">",Space,Str "5",Str "."] , Para [Str "Backslash",Str ":",Space,Str "\\"] , Para [Str "Backtick",Str ":",Space,Str "`"] , Para [Str "Asterisk",Str ":",Space,Str "*"] @@ -226,17 +226,17 @@ Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ": , Header 1 [Str "Links"] , Para [Str "Explicit",Str ":",Space,Str "a",Space,Link [Str "URL"] ("/url/",""),Str "."] , Para [Str "Two",Space,Str "anonymous",Space,Str "links",Str ":",Space,Link [Str "the",Space,Str "first"] ("/url1/",""),Space,Str "and",Space,Link [Str "the",Space,Str "second"] ("/url2/","")] -, Para [Str "Reference",Space,Str "links",Str ":",Space,Link [Str "link1"] ("/url1/",""),Space,Str "and",Space,Link [Str "link2"] ("/url2/",""),Space,Str "and",Space,Link [Str "link1"] ("/url1/",""),Space,Str "again."] -, Para [Str "Here's",Space,Str "a",Space,Link [Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."] -, Para [Str "Here's",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text",Str ":",Space,Link [Str "AT&T"] ("/url/",""),Str "."] +, Para [Str "Reference",Space,Str "links",Str ":",Space,Link [Str "link1"] ("/url1/",""),Space,Str "and",Space,Link [Str "link2"] ("/url2/",""),Space,Str "and",Space,Link [Str "link1"] ("/url1/",""),Space,Str "again",Str "."] +, Para [Str "Here",Apostrophe,Str "s",Space,Str "a",Space,Link [Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."] +, Para [Str "Here",Apostrophe,Str "s",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text",Str ":",Space,Link [Str "AT&T"] ("/url/",""),Str "."] , Para [Str "Autolinks",Str ":",Space,Link [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2",""),Space,Str "and",Space,Link [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net",""),Str "."] , Para [Str "But",Space,Str "not",Space,Str "here",Str ":"] , CodeBlock ("",[],[]) "http://example.com/" , Header 1 [Str "Images"] -, Para [Str "From",Space,Str "\"Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune\"",Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902)",Str ":"] +, Para [Str "From",Space,Quoted DoubleQuote [Str "Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune"],Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902)",Str ":"] , Plain [Image [Str "image"] ("lalune.jpg","")] , Plain [Image [Str "Voyage dans la Lune"] ("lalune.jpg","Voyage dans la Lune")] -, Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image [Str "movie"] ("movie.jpg",""),Space,Str "icon."] +, Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image [Str "movie"] ("movie.jpg",""),Space,Str "icon",Str "."] , Header 1 [Str "Comments"] , Para [Str "First",Space,Str "paragraph"] , Para [Str "Another",Space,Str "paragraph"] diff --git a/tests/tables-rstsubset.native b/tests/tables-rstsubset.native index 7941772b5..631da7b68 100644 --- a/tests/tables-rstsubset.native +++ b/tests/tables-rstsubset.native @@ -17,7 +17,7 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) , [ Plain [Str "1"] ] , [ Plain [Str "1"] ] , [ Plain [Str "1"] ] ] ] -, Para [Str "Table",Str ":",Space,Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] +, Para [Str "Table",Str ":",Space,Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax",Str "."] , Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption",Str ":"] , Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.125,0.1125,0.1375,0.15] [ [ Plain [Str "Right"] ] @@ -54,7 +54,7 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) , [ Plain [Str "1"] ] , [ Plain [Str "1"] ] , [ Plain [Str "1"] ] ] ] -, Para [Str "Table",Str ":",Space,Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] +, Para [Str "Table",Str ":",Space,Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax",Str "."] , Para [Str "Multiline",Space,Str "table",Space,Str "with",Space,Str "caption",Str ":"] , Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.175,0.1625,0.1875,0.3625] [ [ Plain [Str "Centered",Space,Str "Header"] ] @@ -63,13 +63,13 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) , [ Plain [Str "Default",Space,Str "aligned"] ] ] [ [ [ Plain [Str "First"] ] , [ Plain [Str "row"] ] - , [ Plain [Str "12.0"] ] - , [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."] ] ], + , [ Plain [Str "12",Str ".",Str "0"] ] + , [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines",Str "."] ] ], [ [ Plain [Str "Second"] ] , [ Plain [Str "row"] ] - , [ Plain [Str "5.0"] ] - , [ Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."] ] ] ] -, Para [Str "Table",Str ":",Space,Str "Here's",Space,Str "the",Space,Str "caption.",Space,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines."] + , [ Plain [Str "5",Str ".",Str "0"] ] + , [ Plain [Str "Here",Str "'",Str "s",Space,Str "another",Space,Str "one",Str ".",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows",Str "."] ] ] ] +, Para [Str "Table",Str ":",Space,Str "Here",Str "'",Str "s",Space,Str "the",Space,Str "caption",Str ".",Space,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines",Str "."] , Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "caption",Str ":"] , Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.175,0.1625,0.1875,0.3625] [ [ Plain [Str "Centered",Space,Str "Header"] ] @@ -78,12 +78,12 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) , [ Plain [Str "Default",Space,Str "aligned"] ] ] [ [ [ Plain [Str "First"] ] , [ Plain [Str "row"] ] - , [ Plain [Str "12.0"] ] - , [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."] ] ], + , [ Plain [Str "12",Str ".",Str "0"] ] + , [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines",Str "."] ] ], [ [ Plain [Str "Second"] ] , [ Plain [Str "row"] ] - , [ Plain [Str "5.0"] ] - , [ Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."] ] ] ] + , [ Plain [Str "5",Str ".",Str "0"] ] + , [ Plain [Str "Here",Str "'",Str "s",Space,Str "another",Space,Str "one",Str ".",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows",Str "."] ] ] ] , Para [Str "Table",Space,Str "without",Space,Str "column",Space,Str "headers",Str ":"] , Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.1,0.1,0.1,0.1] [ [] @@ -110,9 +110,9 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) , [] ] [ [ [ Plain [Str "First"] ] , [ Plain [Str "row"] ] - , [ Plain [Str "12.0"] ] - , [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."] ] ], + , [ Plain [Str "12",Str ".",Str "0"] ] + , [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines",Str "."] ] ], [ [ Plain [Str "Second"] ] , [ Plain [Str "row"] ] - , [ Plain [Str "5.0"] ] - , [ Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."] ] ] ] ] + , [ Plain [Str "5",Str ".",Str "0"] ] + , [ Plain [Str "Here",Str "'",Str "s",Space,Str "another",Space,Str "one",Str ".",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows",Str "."] ] ] ] ] -- cgit v1.2.3