1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Merge pull request #13417 from Snuffleupagus/xfa-URL-clone

[XFA] Send URLs as strings, rather than objects (issue 1773)
This commit is contained in:
calixteman 2021-05-22 14:31:59 +02:00 committed by GitHub
commit 0df1a56619
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -2257,7 +2257,7 @@ class Image extends StringObject {
};
if (this.href) {
html.attributes.src = new URL(this.href);
html.attributes.src = new URL(this.href).href;
return html;
}