Skip to content

MathJax formulas not included in exported HTML #497

@ansRMorin

Description

@ansRMorin

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

MathJax formulas do not render correctly when exporting a report as HTML. The exported report displays a “Math Processing Error” message.

Image

📝 Steps to reproduce

  1. Create a report template
  2. Create a report item that uses MathJax
  3. Export report as HTML
  4. Locate and open indext.html in a browser
  5. Observe “Math Processing Error” where formulas should render.

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

ADR 26R1

🐍 Which Python version are you using?

3.10

📦 Installed packages

Package                     Version
--------------------------- ------------
ansys-dynamicreporting-core 0.10.6
asgiref                     3.11.1
bleach                      6.3.0
brotli                      1.2.0
certifi                     2026.1.4
cffi                        2.0.0
charset-normalizer          3.4.4
cssselect2                  0.9.0
Django                      4.2.28
django-guardian             2.4.0
django-weasyprint           2.4.0
djangorestframework         3.15.2
docker                      7.1.0
fonttools                   4.61.1
idna                        3.11
lark                        1.2.2
lxml                        6.0.2
numpy                       1.26.4
packaging                   26.0
pandas                      2.3.3
patsy                       1.0.2
pillow                      12.1.1
pip                         23.0.1
psutil                      7.2.2
psycopg                     3.2.13
psycopg-binary              3.2.13
pycparser                   3.0
pydyf                       0.12.1
pyphen                      0.17.2
pypng                       0.20220715.0
python-dateutil             2.9.0.post0
python-pptx                 1.0.2
pytz                        2025.2
pywin32                     311
QtPy                        2.4.3
requests                    2.32.5
scipy                       1.15.3
setuptools                  65.5.0
six                         1.17.0
sqlparse                    0.5.5
statsmodels                 0.14.6
tinycss2                    1.5.1
tinyhtml5                   2.0.0
typing_extensions           4.15.0
tzdata                      2025.3
tzlocal                     5.3.1
urllib3                     2.6.3
weasyprint                  68.1
webencodings                0.5.1
xlsxwriter                  3.2.9
zopfli                      0.4.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions