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

Problem when parsing topics #1

Open
gcalabria opened this issue Jun 9, 2023 · 0 comments
Open

Problem when parsing topics #1

gcalabria opened this issue Jun 9, 2023 · 0 comments

Comments

@gcalabria
Copy link

I am trying to use your scripts (more specifically the function arqmath_post_read_html5_worker), but it does not correctly parses some strings. For example, the string

<p> ...which has the simple parametrization <span class="math-container" id="q_228">$$(x,y)=\\left(t^{1/t},t\\right),\\qquad0<t<\\infty.$$</span> Component 2 is a path between the points ... </p>

Should extract the formula: $$(x,y)= \left(t^{1/t},t\right), \qquad0 &lt; t &lt; \infty.$$ (which correspondes to the raw string $$(x,y)=\\left(t^{1/t},t\\right),\\qquad0<t<\\infty.$$

However, the resulting raw string is actually: $$(x,y)=\\left(t^{1/t},t\\right),\\qquad0$$

I suspect that this is happening, because of the < symbol inside the equation, which is actually being interpreted as the opening of an HTML tag.

Am I doing something wrong or this is indeed a bug?

I appreciate any help.

Cheers :)

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

No branches or pull requests

1 participant