diff --git a/core/manipulate-dom.js b/core/manipulate-dom.js index 39a5c6db..78d730e8 100644 --- a/core/manipulate-dom.js +++ b/core/manipulate-dom.js @@ -117,6 +117,9 @@ manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) { } str += decoder.decode(); // end-of-stream + // set UTF-8 in document + str = str.replace(new RegExp(`charset=["']?${charset}["']?`), 'charset="utf8"'); + // remove crossorigin and integrity attributes str = str.replace(/<(link|script)[^>]+>/ig, (m) => { // eslint-disable-next-line no-use-before-define diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 73684510..3fa15c14 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -35,6 +35,7 @@

Improved