This website requires JavaScript.
Explore
Help
Sign In
StarMirror
/
showdown
Watch
1
Star
0
Fork
0
You've already forked showdown
mirror of
https://github.com/showdownjs/showdown.git
synced
2024-03-22 13:30:55 +08:00
Code
Issues
Projects
Releases
Wiki
Activity
aa12eabf1d
showdown
/
test
/
functional
/
makehtml
/
cases
/
issues
/
#585.error-when-using-image-references.md
4 lines
56 B
Markdown
Raw
Normal View
History
Unescape
Escape
fix(images): fix js error when using image references In some circumstances, on a reference style image, the last capturing group is ignored, which causes the fucntion argument to return the number of matches instead of a string (or undefined). Checking if the title parameter is a string ensures that the title parameter is actually something that was caught by the regex and not some metadata. Closes #585
2018-09-14 22:48:28 +08:00
[![the-image]]
[the-image]: http://example.com/foo.png
Reference in New Issue
Copy Permalink