carloskiki / pulldown-latex

A pull parser for LaTeX parsing and mathml rendering.
MIT License
27 stars 0 forks source link

Percentage symbol causes hanging #16

Closed wolfjagger closed 2 months ago

wolfjagger commented 2 months ago

You can see this even on your test page https://carloskiki.github.io/pulldown-latex/. Enter "80%" and it will begin to hang as soon as you type the character.

(Love the crate; thank you!)

carloskiki commented 2 months ago

Looking into it!

carloskiki commented 2 months ago

I have fixed the issue and it is released in v0.6.3.

FYI: A percentage sign in LaTeX is a comment, if you want to see "80%" as output, you would need to type "80\%" as input.

wolfjagger commented 2 months ago

Nice!

Yeah, I realized pretty quickly my mistake, but figured the hanging was unintended!