diff --git a/packages/core/src/lib/parse-url.ts b/packages/core/src/lib/parse-url.ts index f12f8a1b..cdfc9362 100644 --- a/packages/core/src/lib/parse-url.ts +++ b/packages/core/src/lib/parse-url.ts @@ -1,5 +1,5 @@ export function parseURL(rawURL: string) { - return new URL(rawURL.replaceAll('#', '%23'), 'file://') + return new URL(rawURL.replace(/#/g, '%23'), 'file://') } export function extractEntries(url: URL) {