Closed Zune01 closed 9 years ago
After looking at the code, injecting a space in the alt text satisfies the parser's expectation of at least 1 character and allows generation of an image tag with a blank alt text.
![ ](image.png)
Could this be fixed by changing line 979 of file from
OneOrMore(TestNot(']'), NonAutoLinkInline(), addAsChild()),
to
ZeroOrMore(TestNot(']'), NonAutoLinkInline(), addAsChild()),
?
Awesome work ;)
Agree with @wienczny. Good suggestion! Do need this very much!
Now, I haven't been able to find anything conclusive, but how do you add an image link in pegdown without an alt text?
does not create an image in 1.4, or is it that I have to enable an extension? According to the markdown web dingus this should render as
but I get the input as output.