KaTeX icon indicating copy to clipboard operation
KaTeX copied to clipboard

Cannot declare a const variable twice: 'e' with wkhtmltoimage

Open iinov opened this issue 10 months ago • 1 comments

Before reporting a bug

Describe the bug: When I try to transform with wkhtmltoimage an HTML file containing formulas , I get an error "Cannot declare a const variable twice: 'e'" if I use .016.10 while it works fine with 0.16.9.

To Reproduce: Steps to reproduce the behavior:

  1. Create an HTML file with a formula and a call to KaTeX, let's say index.html.
  2. Execute: wkhtmltoimage --enable-local-file-access --debug-javascript index.html index.png
  3. See error

Environment (please complete the following information):

  • KaTeX Version: 0.16.10
  • OS: Debian 12
  • Browser: wkhtmltoimage
  • Version: 0.12.6

iinov avatar Apr 02 '24 10:04 iinov