don't warn when fixing missing scheme, just do it... bring back strict mode for parse

This commit is contained in:
Johannes Rieken
2019-10-24 11:45:38 +02:00
parent 666ad41b9c
commit 175ab4aa51
5 changed files with 22 additions and 9 deletions

View File

@@ -260,7 +260,7 @@ export namespace MarkdownString {
const collectUri = (href: string): string => {
try {
let uri = URI.parse(href);
let uri = URI.parse(href, true);
uri = uri.with({ query: _uriMassage(uri.query, resUris) });
resUris[href] = uri;
} catch (e) {