Skip to content

Commit f6fcf4c

Browse files
committed
fix lint
1 parent 56cbc0d commit f6fcf4c

File tree

1 file changed

+2
-2
lines changed
  • packages/svelte/src/compiler/preprocess

1 file changed

+2
-2
lines changed

packages/svelte/src/compiler/preprocess/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ function stringify_tag_attributes(attributes) {
254254
}
255255

256256
const regex_style_tags =
257-
/<!--[^]*?-->|<style((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s])|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/style>)/g;
257+
/<!--[^]*?-->|<style((?:\s+[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s])|\s+[^=>'"/]+)*\s*)(?:\/>|>([\S\s]*?)<\/style>)/g;
258258
const regex_script_tags =
259-
/<!--[^]*?-->|<script((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s])|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/script>)/g;
259+
/<!--[^]*?-->|<script((?:\s+[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s])|\s+[^=>'"/]+)*\s*)(?:\/>|>([\S\s]*?)<\/script>)/g;
260260

261261
/**
262262
* Calculate the updates required to process all instances of the specified tag.

0 commit comments

Comments
 (0)