fix charset in export

This commit is contained in:
Wolfgang 2024-06-04 18:59:33 +02:00
parent 65ff1d1105
commit ed09b9aad0

View file

@ -253,7 +253,7 @@ div>label {
autoColumns: "full", autoColumns: "full",
downloadEncoder: function(fileContents, mimeType){ downloadEncoder: function(fileContents, mimeType){
// add header and footer for a complete html file // add header and footer for a complete html file
let header = "<!doctype html><html><head><style>"; let header = "<!doctype html><html><head><meta charset=\"utf-8\"><style>";
for (let i = 0; i < document.styleSheets.length; i++) { for (let i = 0; i < document.styleSheets.length; i++) {
let css = document.styleSheets[i]; let css = document.styleSheets[i];
if (css.ownerNode.id === "link_css") { if (css.ownerNode.id === "link_css") {