Bug report: KaTex macros? not displaying correctly in 5.0.91 beta.

Debug ID is D1949267833.

* Disable all Firefox add-ons (except Zotero Connector).
* Restart Firefox and Zotero.
* Load https://katex.org/ in Firefox.
* Save snapshot to Zotero.
* View snapshot in Firefox.
* The word "KaTex" is duplicated each time it is displayed: first occurrence always styled correctly, second occurrence always plaintext. Likewise, the four equations on the page are always duplicated: first occurrence always good, second occurrence always junk plaintext.

* Firefox 81.0.1 (64-bit) [debug info says v78.0, which is incorrect].
* Firefox Connector 5.0.75beta1.
* Zotero 5.0.91-beta.9+479f01fa9
* Windows 10 Home, v2004.

Interestingly, the SingleFile FF add-on saves the page perfectly (A/B page comparison).

Happy hunting :)
  • Looks like it's the crossorigin=anonymous attributes in two of the stylesheet links. SingleFile and SingleFileZ both embed the stylesheets (in different ways) such that that attribute it either removed or irrelevant. Since we leave them as external CSS files, that attribute causes a CORS error and the stylesheets aren't loaded.

    We'll try to come up with a fix. Thanks for reporting.
  • OK, this should be fixed in the latest Zotero Connector beta (5.0.75beta2).
  • Confirmed. :)
Sign In or Register to comment.