Open ilyvion opened 1 month ago
Oof, thanks for the report. I'm currently focusing on writing my own parser instead of using marked.js and extending/overriding its behavior. Once that custom parser is done this should be fixed.
This bug is most likely caused by my naive attempt to insert underline support.
If you write
***t***
, you get[i][b]t[/b][/i]
, if you write__t__
, you get[u]t[/u]
, but if you write***__t__***
, you get[i][b]__t__[/b][/i]
and if you write__***t***__
you get[u]***t***[/u]
. In both cases, I'd expect all three of[i]
,[b]
and[u]
to be present, not just whichever is outermost.