Skip to content

error: SyntaxError: unexpected token reserved("class") #4

@stroobandt

Description

@stroobandt

Hi, I tried out the exact same MathJax example HTML with compat.js as described in the README.md, using the latest Prince 15.1 on Ubuntu 22.04 amd64.

This resulted in the following error and no MathJax formulas rendered:

$ prince --input=html test.html --javascript --output=test.pdf
prince: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js:1: error: SyntaxError: unexpected token reserved("class")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions