|
@@ -522,7 +522,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
if (element.href) {
|
|
if (element.href) {
|
|
|
const href = element.href.baseVal ? element.href.baseVal : element.href;
|
|
const href = element.href.baseVal ? element.href.baseVal : element.href;
|
|
|
const normalizedHref = DomUtil.normalizeURL(href);
|
|
const normalizedHref = DomUtil.normalizeURL(href);
|
|
|
- if (!normalizedHref || normalizedHref != this.baseURI) {
|
|
|
|
|
|
|
+ if (normalizedHref == href && href) {
|
|
|
element.setAttribute("href", href);
|
|
element.setAttribute("href", href);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|