wikijs-fork/client/components
Edoardo Morassutto a37a73dede
fix: inline math interpreted as attributes (#2645)
When using inline math ($e^{-x^2}$) the curly braces are interpreted as
attributes by markdown-it-attrs. Since most of the times they are not
valid attributes they simply get removed.

This patch escapes the curly braces (the default attribute delimiter),
fixing the KaTeX rendering errors.

It would be nice to simply skip that rule for `katex_inline` block types
but as far as I know markdown-it-attrs doesn't have such an option.

Fixes #1581
2020-11-01 13:00:39 -05:00
..
admin fix: login bg insert from asset not working 2020-09-13 19:35:09 -04:00
common Merge pull request from GHSA-pgjv-84m7-62q7 2020-10-23 18:49:25 -04:00
editor fix: inline math interpreted as attributes (#2645) 2020-11-01 13:00:39 -05:00
profile feat: social login providers with dynamic instances 2020-08-30 01:36:37 -04:00
admin.vue refactor: deps update + 2FA setup + verify 2020-08-22 19:37:49 -04:00
comments.vue fix: incorrect cancel button i18n key (#2543) 2020-10-05 22:51:57 -04:00
editor.vue
history.vue refactor: deps update + 2FA setup + verify 2020-08-22 19:37:49 -04:00
login.vue fix: bypass auth redirect cookie when set to homepage 2020-10-03 17:11:34 -04:00
new-page.vue
not-found.vue
profile.vue
register.vue fix: site title check + UI fixes + 2FA setup on account verify 2020-08-23 12:58:56 -04:00
setup.vue refactor: deps update + 2FA setup + verify 2020-08-22 19:37:49 -04:00
source.vue
tags.vue fix: remove bugsnag + update deps 2020-10-03 17:30:56 -04:00
unauthorized.vue
welcome.vue