RST reader: Add test for space-before-note.
This commit is contained in:
parent
e666c92bc9
commit
f407b66405
1 changed files with 9 additions and 0 deletions
|
@ -163,4 +163,13 @@ tests = [ "line block with blank line" =:
|
|||
=?> para (codeWith ("", ["lhs", "haskell", "sourceCode"], []) "text")
|
||||
, "unknown role" =: ":unknown:`text`" =?> para (str "text")
|
||||
]
|
||||
, testGroup "footnotes"
|
||||
[ "remove space before note" =: unlines
|
||||
[ "foo [1]_"
|
||||
, ""
|
||||
, ".. [1]"
|
||||
, " bar"
|
||||
] =?>
|
||||
(para $ "foo" <> (note $ para "bar"))
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue