Skip to content

fix: align KaTeX CDN version to 0.16.28 in export files#518

Merged
xiaolai merged 1 commit intomainfrom
fix/katex-cdn-version-512
Mar 23, 2026
Merged

fix: align KaTeX CDN version to 0.16.28 in export files#518
xiaolai merged 1 commit intomainfrom
fix/katex-cdn-version-512

Conversation

@claude
Copy link
Contributor

@claude claude bot commented Mar 23, 2026

Summary

  • Updated src/export/fontEmbedder.ts KaTeX CDN URL from 0.16.9 to 0.16.28
  • Updated src/export/htmlTemplates.ts KaTeX CDN URLs (2 occurrences) from 0.16.9 to 0.16.28
  • All export files now consistently reference katex@0.16.28, matching the installed package

Closes #512

Test plan

  • pnpm check:all passes (lint + tests + build)
  • Export a document with math to HTML — verify KaTeX CSS loads from 0.16.28
  • Export standalone HTML — verify math renders correctly

🤖 Generated with Claude Code

fontEmbedder.ts and htmlTemplates.ts referenced katex@0.16.9 while
the installed package and pdfHtmlTemplate.ts use 0.16.28. This mismatch
could cause visual glitches in exported HTML math rendering.

Closes #512

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@claude claude bot enabled auto-merge (squash) March 23, 2026 09:44
@xiaolai xiaolai merged commit ef15e0f into main Mar 23, 2026
8 checks passed
@xiaolai xiaolai deleted the fix/katex-cdn-version-512 branch March 23, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[audit] export: KaTeX CDN version mismatch (0.16.9 vs installed 0.16.28)

1 participant