Open poweruser82 opened 11 years ago
[_example_](http://example.com)
works
I'm just using https://github.com/tent/tent-markdown-js so we should report it there I think.
But on Cupcake it worked :/
Hm ok, weird, will need to check why then.
window.markdown.toHTML('_[a](b)_', 'Tent');
in Bungloo console correctly returns
<p><em><a href="b">a</a></em></p>
This very example worked, so the problem may be related to #256 .
Another test: it breaks with YouTube URLs
window.markdown.toHTML('_[a](http://www.youtube.com/watch?v=0iyeUcFKRv4)_', 'Tent')
returns
<p>_[a](<a href="http://www.youtube.com/watch?v=0iyeUcFKRv4)_">http://www.youtube.com/watch?v=0iyeUcFKRv4)_</a></p>
in Bungloo, but
<p><em><a href="http://www.youtube.com/watch?v=0iyeUcFKRv4">a</a></em></p>
in Cupcake Maybe the version included in Bungloo is buggy
On Fri 18 Oct 2013 01:27:33 PM CEST, poweruser82 wrote:
Another test: it breaks with YouTube URLs
window.markdown.toHTML('a', 'Tent')
returns
_[a](http://www.youtube.com/watch?v=0iyeUcFKRv4)_
in Bungloo, but
in Cupcake Maybe the version included in Bungloo is buggy
— Reply to this email directly or view it on GitHub https://github.com/jeena/Bungloo/issues/255#issuecomment-26588535.
Hm yeah, or perhaps I am doing something strange before of after it with the youtube links, etc?
The problem happens if there is a newline in the []
.
No problem on Cupcake.
The string
_[example](http://example.com)_
is rendered as is and not as example