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 e543a07 commit 70a2592Copy full SHA for 70a2592
packages/svelte/src/compiler/phases/patterns.js
@@ -23,5 +23,5 @@ export const regex_heading_tags = /^h[1-6]$/;
23
export const regex_illegal_attribute_character = /(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/;
24
export const regex_bidirectional_control_characters =
25
/[\u202a\u202b\u202c\u202d\u202e\u2066\u2067\u2068\u2069]+/g;
26
-export const regex_js_code = /^\W*javascript:/i;
+export const regex_js_prefix = /^\W*javascript:/i;
27
export const regex_redundant_img_alt = /\b(image|picture|photo)\b/i;
0 commit comments