Fixed bug in reference link parsing in markdown_mmd.
The bug was triggered by: Link to [Google][]. Link to [twitter][]. [Google]: http://google.com [twitter]: http://twitter.com
This commit is contained in:
parent
b677ce0663
commit
a826d3936d
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ referenceKey = try $ do
|
|||
tit <- option "" referenceTitle
|
||||
-- currently we just ignore MMD-style link/image attributes
|
||||
_kvs <- option [] $ guardEnabled Ext_link_attributes
|
||||
>> many (spnl >> keyValAttr)
|
||||
>> many (try $ spnl >> keyValAttr)
|
||||
blanklines
|
||||
let target = (escapeURI $ trimr src, tit)
|
||||
st <- getState
|
||||
|
|
Loading…
Add table
Reference in a new issue