yeslogic / prince-scripts

Useful javascript helper scripts for Prince
MIT License
6 stars 6 forks source link

SyntaxError: unexpected token reserved("class") #5

Closed OscarTheFabulous closed 9 months ago

OscarTheFabulous commented 9 months ago

Greetings! I'm trying to print that sample file from here but Prince throws error:

prince: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js:1: error: SyntaxError: unexpected token reserved("class")

It looks like it reacts like that to any javascript it encounters, but I'm not sure about that

I'm using the latest version of Prince. Is there something that I'm missing?

OscarTheFabulous commented 9 months ago

Whoops, just noticed the same issue, going to try that fix now