mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
Markdown reader: don't confuse a span after...
an author-in-text citation with a locator. E.g. `@foo [test]{.bar}`.
See https://github.com/jgm/pandoc/issues/9080#issuecomment-3221689892.
This commit is contained in:
@@ -2227,7 +2227,7 @@ bareloc c = try $ do
|
||||
rest <- option (return []) $ try $ char ';' >> spnl >> citeList
|
||||
spnl
|
||||
char ']'
|
||||
notFollowedBy $ oneOf "[("
|
||||
notFollowedBy $ oneOf "[({"
|
||||
return $ do
|
||||
suff' <- suff
|
||||
rest' <- rest
|
||||
|
||||
Reference in New Issue
Block a user