mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-25 17:05:41 +00:00
Fix RST reference names with special characters
This commit is contained in:
@@ -779,7 +779,7 @@ simpleReferenceName' :: Parser [Char] st String
|
||||
simpleReferenceName' = do
|
||||
x <- alphaNum
|
||||
xs <- many $ alphaNum
|
||||
<|> (try $ oneOf "-_:+." >> lookAhead alphaNum)
|
||||
<|> (try $ oneOf "-_:+." <* lookAhead alphaNum)
|
||||
return (x:xs)
|
||||
|
||||
simpleReferenceName :: Parser [Char] st Inlines
|
||||
|
||||
Reference in New Issue
Block a user