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

A < in a markdown cell strips cell content when converting to latex #4283

Closed
jakobgager opened this issue Sep 26, 2013 · 0 comments
Closed
Milestone

Comments

@jakobgager
Copy link
Contributor

(in current master)
As the title says a < - not being part of an html tag - leads to the removal of the rest of the cell content or till a > character is found. The reason is the lxml package used for the citation2latex filter obviously treats the < as the begin of an html tag, and searches for the end tag.

citation2latex("1<2 is obviously true")

leads to

u'1'

and

citation2latex("A second line with 1<2 but here also 3>4 is present.")

leads to

u'A second line with 14 is present.'

Moreover the lxml package html-escapes some characters, see #4251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants