- New POST /api/export/html: single self-contained HTML file with the
active theme's CSS inlined, images/attachments as base64 data URIs,
and heading/link colors matching the TinyMCE rendered-mode view
- CSS extraction helper (extractCssBlocks) pulls theme + .editor-preview
rules out of styles.css via a brace-depth scanner
- New inlineResourceLinks helper: attachment links become data: URIs
with a download attribute instead of dead /resources/ hrefs
- PDF table borders bumped to visible 1px/2px lines; fixed pandoc's
default HTML template CSS (50px body padding) leaking into PDF output
via --include-in-header
- Regenerated public/reference.docx with a patched Table style (visible
gridlines) via new scripts/build-reference-docx.sh
- Client: exportNoteAsHtml now posts to the server instead of building
an unstyled client-side doc; sends current theme slug
- Bumped service worker cache to v54-20260715htmlexport
- Added tests: extractCssBlocks, inlineResourceLinks, handleExportHtml