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

fix: fix LaTeX entity conversion group location #681

Closed
wants to merge 1 commit into from

Conversation

aschmitz
Copy link
Contributor

This correctly places the {} group after the LaTeX commands used for conversion, rather than before. It appears this has been broken since edbd1fd.

Also updates the span/text_substitutions/entities test to include <span>, which will be converted by the old converter to {}\textlessspan{}\textgreater, which should instead be \textless{}span\textgreater{}. The former will fail to compile, and should throw an error.

This correctly places the `{}` group after the LaTeX commands used for
conversion, rather than before. It appears this has been broken since
edbd1fd.

Also updates the span/text_substitutions/entities test to include
`<span>`, which will be converted by the old converter to
`{}\textlessspan{}\textgreater`, which should instead be
`\textless{}span\textgreater{}`. The former will fail to compile, and should
throw an error.
@gettalong gettalong added the bug label Jul 23, 2020
@gettalong
Copy link
Owner

Thanks for the pull request! Just fyi: The commit you mentioned is not the one that introduced the bug but this one is.

@gettalong
Copy link
Owner

Thanks for your contribution, this will be in the next release.

@gettalong gettalong closed this Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants