-
I am not sure if I should post it as bug or feature request, so "general": We have noticed that our editor (also found in other editors like Gmail), sets sometimes Then, Katex preserves this whitespace and the rendering gets an extra whitespace. See the last Would it make sense to have Katex (we are using the autorenderer!) remove the Is this already possible with the current version? If yes, how to tell Katex to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I believe you could fix this with the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I tried:
but the preProcess seems not to change anything. Maybe the syntax at |
Beta Was this translation helpful? Give feedback.
-
The problem still persists. If anyone knows a solution or workaround, feel free to let us know. Thanks! |
Beta Was this translation helpful? Give feedback.
-
It sounds like you're getting the actual nonbreaking space character, not the string |
Beta Was this translation helpful? Give feedback.
It sounds like you're getting the actual nonbreaking space character, not the string
'
in your content. TrypreProcess: (math) => math.replace(/\xa0/g, ' ')