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:
John MacFarlane
2025-08-26 11:24:02 +02:00
parent 5e92187c88
commit 7e4ef3c54a
+1 -1
View File
@@ -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