mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
Merge pull request #13590 from Snuffleupagus/issue-8558
Stop encoding the value in the `DOMElement.setAttribute` method (issue 8558)
This commit is contained in:
commit
adafb2c82a
1 changed files with 1 additions and 3 deletions
|
@ -93,9 +93,7 @@ DOMElement.prototype = {
|
|||
},
|
||||
|
||||
setAttribute: function DOMElement_setAttribute(name, value) {
|
||||
value = value || "";
|
||||
value = xmlEncode(value);
|
||||
this.attributes[name] = value;
|
||||
this.attributes[name] = value || "";
|
||||
},
|
||||
|
||||
setAttributeNS: function DOMElement_setAttributeNS(NS, name, value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue