diff --git a/src/core/xfa/template.js b/src/core/xfa/template.js index e147cd5b8..cf1095093 100644 --- a/src/core/xfa/template.js +++ b/src/core/xfa/template.js @@ -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; }