Trying to fix a bug where a header with a newline isn't recognized as a header
This commit is contained in:
@@ -4,5 +4,5 @@ import MdToHTML
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
let res = fst $ leftmostLongestParse parseDocument "# _Hello_\n\n # Hello"
|
||||
let res = fst $ leftmostLongestParse parseDocument "# _Hello_\n"
|
||||
putStrLn (show res)
|
||||
|
Reference in New Issue
Block a user