@@ -394,7 +394,7 @@ rawListItem start = try (do
394-- or (in compact lists) endline.
394-- or (in compact lists) endline.
395-- note: nested lists are parsed as continuations
395-- note: nested lists are parsed as continuations
396listContinuation start = try (do
396listContinuation start = try (do
397− followedBy' indentSpaces
397+ lookAhead indentSpaces
398 result <- many1 (listContinuationLine start)
398 result <- many1 (listContinuationLine start)
399 blanks <- many blankline
399 blanks <- many blankline
400 return ((concat result) ++ blanks))
400 return ((concat result) ++ blanks))
@@ -443,10 +443,10 @@ para = try (do
444 st <- getState
444 st <- getState
445 if stateStrict st
445 if stateStrict st
446− then choice [followedBy' blockQuote, followedBy' header,
446+ then choice [lookAhead blockQuote, lookAhead header,
447− (do{blanklines; return ()})]
447+ (do{blanklines; return Null})]
448− else choice [followedBy' emacsBoxQuote,
448+ else choice [(do{lookAhead emacsBoxQuote; return Null}),
449− (do{blanklines; return ()})]
449+ (do{blanklines; return Null})]
450 let result' = normalizeSpaces result
450 let result' = normalizeSpaces result
451 return (Para result'))
451 return (Para result'))