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 f6fcf4c commit 0562bfeCopy full SHA for 0562bfe
packages/svelte/src/compiler/phases/1-parse/state/element.js
@@ -382,6 +382,7 @@ function read_tag_name(parser) {
382
// eslint-disable-next-line no-useless-escape
383
const regex_token_ending_character = /[\s=\/>"']/;
384
const regex_starts_with_quote_characters = /^["']/;
385
+const regex_attribute_value = /^(?:"([^"]*)"|'([^'])*'|([^>\s]))/;
386
387
/**
388
* @param {import('../index.js').Parser} parser
@@ -604,8 +605,6 @@ function get_directive_type(name) {
604
605
return false;
606
}
607
-const regex_attribute_value = /^(?:"([^"]*)"|'([^'])*'|([^>\s]))/;
608
-
609
610
611
*/
0 commit comments