fixed: broken html filter (#1638)
This commit is contained in:
parent
b165c3751c
commit
cf8a1937a0
|
@ -116,11 +116,10 @@ manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) {
|
|||
data.push(chunk);
|
||||
};
|
||||
|
||||
filter.onstop = () => {
|
||||
if (decoder === undefined) {
|
||||
decoder = new TextDecoder(charset);
|
||||
}
|
||||
|
||||
filter.onstop = () => {
|
||||
let str = '';
|
||||
for (let buffer of data) {
|
||||
str += decoder.decode(buffer, {'stream': true});
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
<h2>New in LocalCDN:</h2>
|
||||
</div>
|
||||
<div class="release-notes-area">
|
||||
<p></p>
|
||||
<p>Fixed/p>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>Broken HTML Filter (<a href="https://codeberg.org/nobody/LocalCDN/issues/1638">#1638</a>)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="generator-section">
|
||||
|
|
Loading…
Reference in New Issue