fix: Add encoding meta tag to exported HTML (#9207)

closes #9194
This commit is contained in:
Tom Moor
2025-05-13 22:47:48 -04:00
committed by GitHub
parent 6b05b101d0
commit 2d6167e933
+1 -1
View File
@@ -490,7 +490,7 @@ export class ProsemirrorHelper {
// Render the Prosemirror document using virtual DOM and serialize the
// result to a string
const dom = new JSDOM(
`<!DOCTYPE html>${
`<!DOCTYPE html><meta charset="utf-8">${
options?.includeStyles === false ? "" : styleTags
}${html}`
);