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

search results: render Mathjax in the results list #2852

Conversation

anikachurilova
Copy link
Contributor

@anikachurilova anikachurilova force-pushed the LaTeX-rendering-on-search-pages branch 10 times, most recently from c4d5651 to cb1620e Compare September 30, 2024 15:43
Comment on lines 137 to 138
// Re-render mathematical content on the page using MathJax.
return window.MathJax?.typeset();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Re-render mathematical content on the page using MathJax.
return window.MathJax?.typeset();
if (mathJaxEnabled) {
// Re-render mathematical content on the page using MathJax.
return window.MathJax?.typeset();
}

@ntarocco ntarocco merged commit a607db1 into inveniosoftware:master Oct 3, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

LaTeX rendering on search pages
2 participants