developit / snarkdown

:smirk_cat: A snarky 1kb Markdown parser written in JavaScript
http://jsfiddle.net/developit/828w6t1x/
MIT License
2.28k stars 110 forks source link

Escaping doesn't work properly #78

Open Andarist opened 5 years ago

Andarist commented 5 years ago

input

this\*is\*important

actual

this\*is\*important

expected https://babelmark.github.io/?text=this%5C*is%5C*important

this*is*important
dicash commented 1 year ago

@developit

developit commented 1 year ago

Escapement is supposed to be working via this logic, so this is likely just a bug in my weird decision to use an expensive regex.