zestedesavoir / zmarkdown

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

rebber-plugins: \{ and \} improperly eaten #483

Closed artragis closed 1 year ago

artragis commented 1 year ago

When we sanitize the commands we remove the backslash :

Input

$$\boxed{\nabla^2 E(\vec x) + \left\{[n(\vec{x})\,k]^2-i\,k\,\sigma(\vec x)\right\}\,E(\vec x) = -s(\vec x)},$$

Current output

$$\boxed{  E(\vec x) + \left {[n(\vec{x}) ]^2-i \,\sigma(\vec x)\right } (\vec x) = -s(\vec x)},$$

Expected output

$$\boxed{\nabla^2 E(\vec x) + \left\{[n(\vec{x})\,k]^2-i\,k\,\sigma(\vec x)\right\}\,E(\vec x) = -s(\vec x)},$$