Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latex markup cleaning fails if line begins with math #145

Closed
lorenzhs opened this issue Sep 25, 2020 · 1 comment
Closed

Latex markup cleaning fails if line begins with math #145

lorenzhs opened this issue Sep 25, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@lorenzhs
Copy link

The cleaning of latex markup gets confused if a line starts with math mode and contains some more math later, e.g.:

Consider the following: Let
$x=7$ and (blah blah) $y=5$ in the above formula.

The cleaning process mangles this and eats the middle part, and (blah blah) completely. Instead, it outputs parts of the two math bits.

@sylvainhalle sylvainhalle added the bug Something isn't working label Sep 27, 2020
@sylvainhalle
Copy link
Owner

I suspect this line:

// Do it one last time for equations at the beginning of a line

and the following should be done first, instead of last

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants