Skip to content

Remove   by default from Latex-Code before processing by Katex? #2606

Answered by edemaine
q2apro asked this question in Q&A
Discussion options

You must be logged in to vote

It sounds like you're getting the actual nonbreaking space character, not the string  ' in your content. Try preProcess: (math) => math.replace(/\xa0/g, ' ')

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@q2apro
Comment options

Answer selected by q2apro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants