Mediawiki reader: Don't require blanklines after tables.
This commit is contained in:
parent
9d549ab683
commit
efddb85d46
3 changed files with 8 additions and 1 deletions
|
@ -222,7 +222,7 @@ tableStart :: MWParser ()
|
|||
tableStart = try $ guardColumnOne *> sym "{|"
|
||||
|
||||
tableEnd :: MWParser ()
|
||||
tableEnd = try $ guardColumnOne *> sym "|}" <* blanklines
|
||||
tableEnd = try $ guardColumnOne *> sym "|}"
|
||||
|
||||
rowsep :: MWParser ()
|
||||
rowsep = try $ guardColumnOne *> sym "|-" <* blanklines
|
||||
|
|
|
@ -237,5 +237,9 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
|
|||
,[Para [Str "ice",Space,Str "cream"]]]]]]
|
||||
,[[Para [Str "Butter"]]
|
||||
,[Para [Str "Ice",Space,Str "cream"]]]]
|
||||
,Table [] [AlignDefault] [0.0]
|
||||
[[]]
|
||||
[[[Para [Str "Orange"]]]]
|
||||
,Para [Str "Paragraph",Space,Str "after",Space,Str "the",Space,Str "table."]
|
||||
,Header 2 ("",[],[]) [Str "notes"]
|
||||
,Para [Str "My",Space,Str "note!",Note [Plain [Str "This."]]]]
|
||||
|
|
|
@ -362,6 +362,9 @@ and cheese
|
|||
|Ice cream
|
||||
|}
|
||||
|
||||
{|
|
||||
|Orange
|
||||
|}Paragraph after the table.
|
||||
|
||||
== notes ==
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue