@@ -226,17 +226,32 @@ noteBlock = try $ do
227parseBlocks = manyTill block eof
227parseBlocks = manyTill block eof
231+ choice (if stateStrict st
229−block = choice [ header
242+ else [ header
231− , codeBlock
244+ , codeBlock
233− , list
246+ , bulletList
234− , blockQuote
249+ , blockQuote
235− , rawLaTeXEnvironment'
250+ , rawLaTeXEnvironment
237− , htmlBlock
252+ , htmlBlock
239− , nullBlock ] <?> "block"
254+ , nullBlock ]) <?> "block"
242-- header blocks
257-- header blocks
@@ -314,8 +329,6 @@ blockQuote = do
314-- list blocks
329-- list blocks
317−list = choice [ bulletList, orderedList, definitionList ] <?> "list"
319bulletListStart = try $ do
332bulletListStart = try $ do
320 optional newline -- if preceded by a Plain block in a list context
333 optional newline -- if preceded by a Plain block in a list context
321 nonindentSpaces
334 nonindentSpaces
@@ -434,7 +447,6 @@ defRawBlock = try $ do
434 return $ firstline ++ "\n" ++ unlines rawlines ++ trailing
447 return $ firstline ++ "\n" ++ unlines rawlines ++ trailing
436definitionList = do
449definitionList = do
438 items <- many1 definitionListItem
450 items <- many1 definitionListItem
439 let (terms, defs) = unzip items
451 let (terms, defs) = unzip items
440 let defs' = compactify defs
452 let defs' = compactify defs
@@ -502,12 +514,6 @@ rawHtmlBlocks = do
502 else combined
514 else combined
503 return $ RawHtml combined'
515 return $ RawHtml combined'
509−rawLaTeXEnvironment' = failIfStrict >> rawLaTeXEnvironment
@@ -629,7 +635,7 @@ alignType strLst len =
629 (True, True) -> AlignCenter
635 (True, True) -> AlignCenter
630 (False, False) -> AlignDefault
636 (False, False) -> AlignDefault
632−table = failIfStrict >> (simpleTable <|> multilineTable) <?> "table"
638+table = simpleTable <|> multilineTable <?> "table"