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

Broken rendering of math/LaTeX using HTMLMath widget since 0.5.5 #1486

Closed
akielbowicz opened this issue Aug 1, 2024 · 1 comment · Fixed by #1496
Closed

Broken rendering of math/LaTeX using HTMLMath widget since 0.5.5 #1486

akielbowicz opened this issue Aug 1, 2024 · 1 comment · Fixed by #1496
Assignees
Labels
bug Something isn't working

Comments

@akielbowicz
Copy link

Hello!
First of all, thanks for this tool it is awesome.

Description

HTMLMath widget has not rendered Math/LaTeX content correctly since 0.5.5.

repro-0 5 5-bad

Going back to 0.5.4 it renders OK.

repro-0 5 4-ok

From the changelog, #1410 might have introduced the issue.

Reproduce

Create a notebook with the following content (or download repro.ipynb)

from ipywidgets import HTMLMath
HTMLMath("Some text with math $E = m c^2$")
python -m venv .venv
# activate venv 
python -m pip install voila==0.5.5 ipywidgets jupyterlab
voila repro.ipynb

Expected behavior

Math/LaTeX content of HTMLMath widget renders correctly.

Context

  • voila version 0.5.5, 0.5.6, 0.5.7
  • Operating System and version: Tested on Windows 10/11 and within a docker container
  • Browser and version: Edge, Librewolf, Brave
@akielbowicz akielbowicz added the bug Something isn't working label Aug 1, 2024
@trungleduc
Copy link
Member

Thanks for reporting. I will work on it

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

Successfully merging a pull request may close this issue.

2 participants