Latex Reader: Guard against para starting with inline macro
This commit is contained in:
parent
96438b11e0
commit
6a0d500f99
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ blockCommand = try $ do
|
|||
let raw = do
|
||||
rawcommand <- getRawCommand name'
|
||||
transformed <- applyMacros' rawcommand
|
||||
notFollowedBy $ parseFromString inlines transformed
|
||||
if transformed /= rawcommand
|
||||
then parseFromString blocks transformed
|
||||
else mzero
|
||||
|
|
Loading…
Reference in a new issue