Markdown reader: Improved previous patch to allow unicode apostrophe.
This commit is contained in:
parent
8f1da35917
commit
4f76fe5a1d
1 changed files with 2 additions and 1 deletions
|
@ -1093,7 +1093,8 @@ str = do
|
|||
<|> (try $ char '_' >>~ lookAhead alphaNum)
|
||||
<|> if stateStrict st
|
||||
then mzero
|
||||
else (try $ char '\'' >> lookAhead alphaNum >> return '\x2019')
|
||||
else (try $ satisfy (\c -> c == '\'' || c == '\x2019') >>
|
||||
lookAhead alphaNum >> return '\x2019')
|
||||
-- for things like l'aide - would be better to return
|
||||
-- an Apostrophe, but we can't in this context
|
||||
let result = a:as
|
||||
|
|
Loading…
Add table
Reference in a new issue