|
|
@@ -125,7 +125,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
|
|
|
]
|
|
|
}, {
|
|
|
sequential: [
|
|
|
- { option: "removeAlternativeImages", action: "removeAlternativeImages" }
|
|
|
+ { option: "removeAlternativeImages", action: "removeAlternativeImages" }
|
|
|
],
|
|
|
parallel: [
|
|
|
{ option: "removeAlternativeFonts", action: "removeAlternativeFonts" },
|
|
|
@@ -805,7 +805,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
|
|
|
}
|
|
|
if (resolvedURL) {
|
|
|
const url = Util.normalizeURL(this.options.url);
|
|
|
- if (resolvedURL.startsWith(url + "#") && !this.options.resolveFragmentIdentifierURLs) {
|
|
|
+ if (resolvedURL.startsWith(url + "#") && !resolvedURL.startsWith(url + "#!") && !this.options.resolveFragmentIdentifierURLs) {
|
|
|
resolvedURL = resolvedURL.substring(url.length);
|
|
|
}
|
|
|
try {
|