zestedesavoir / zmarkdown

Live demo: https://zestedesavoir.github.io/zmarkdown/
MIT License
224 stars 52 forks source link

[rebber-plugins] Better math sanitation (fixes #471) #472

Closed StaloneLab closed 1 year ago

StaloneLab commented 1 year ago

Bug: fixes #471 .

Identification: double backslashes were treated as two simple backslashes one after the other, causing the sanitizer to delete all backslashes in the math block.

Fix: two complementary fixes are submitted: