Skip to content

Commit

Permalink
Updated worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
WebReflection committed May 31, 2024
1 parent ed3f8ec commit b7fdba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4886,7 +4886,7 @@ let Attr$1 = class Attr extends Node$1 {
if (emptyAttributes.has(name) && !value) {
return ignoreCase(this) ? name : `${name}=""`;
}
const escapedValue = ignoreCase(this) ? value.replace(QUOTE, '"') : escape(value);
const escapedValue = (ignoreCase(this) ? value : escape(value)).replace(QUOTE, '"');
return `${name}="${escapedValue}"`;
}

Expand Down

0 comments on commit b7fdba9

Please sign in to comment.