Skip to content

Commit 70a2592

Browse files
navoriteOcean-OS
andauthored
Update packages/svelte/src/compiler/phases/patterns.js
Co-authored-by: ComputerGuy <[email protected]>
1 parent e543a07 commit 70a2592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/patterns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ export const regex_heading_tags = /^h[1-6]$/;
2323
export const regex_illegal_attribute_character = /(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/;
2424
export const regex_bidirectional_control_characters =
2525
/[\u202a\u202b\u202c\u202d\u202e\u2066\u2067\u2068\u2069]+/g;
26-
export const regex_js_code = /^\W*javascript:/i;
26+
export const regex_js_prefix = /^\W*javascript:/i;
2727
export const regex_redundant_img_alt = /\b(image|picture|photo)\b/i;

0 commit comments

Comments
 (0)