We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1c90aa commit 98cc4eeCopy full SHA for 98cc4ee
src/snapshot.ts
@@ -66,7 +66,7 @@ function extractOrigin(url: string): string {
66
}
67
68
const URL_IN_CSS_REF = /url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm;
69
-const RELATIVE_PATH = /^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/).*/;
+const RELATIVE_PATH = /^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/;
70
const DATA_URI = /^(data:)([^,]*),(.*)/i;
71
export function absoluteToStylesheet(
72
cssText: string | null,
0 commit comments