markdown-js
markdown-js copied to clipboard
Bug with simultaneous bold and italic
Input:
***something***
expected output:
<p><strong><em>something</em></strong></p>
actual output:
<p><strong>*something</strong>*</p>
Using latest browser release
Seems
___something___
causes the same effect, but
*__something__*
works fine.
Issue is reproducible as of 4/8/2015.
Thanks @cptaffe for the workaround - would be good to have this fixed though.
It's probably not a trivial fix, since it is of course ambiguous - but probably everyone would expect the 'greedier' behaviour, marking down as much as possible.