@@ -241,7 +241,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
constructor(options) {
this.options = options;
this.stats = new Stats(options);
- this.baseURI = options.url;
+ this.baseURI = DomUtil.normalizeURL(options.url);
}
async loadPage(pageContent) {