|
|
|
@ -382,6 +382,7 @@ function read_tag_name(parser) {
|
|
|
|
// eslint-disable-next-line no-useless-escape
|
|
|
|
// eslint-disable-next-line no-useless-escape
|
|
|
|
const regex_token_ending_character = /[\s=\/>"']/;
|
|
|
|
const regex_token_ending_character = /[\s=\/>"']/;
|
|
|
|
const regex_starts_with_quote_characters = /^["']/;
|
|
|
|
const regex_starts_with_quote_characters = /^["']/;
|
|
|
|
|
|
|
|
const regex_attribute_value = /^(?:"([^"]*)"|'([^'])*'|([^>\s]))/;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @param {import('../index.js').Parser} parser
|
|
|
|
* @param {import('../index.js').Parser} parser
|
|
|
|
@ -604,8 +605,6 @@ function get_directive_type(name) {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const regex_attribute_value = /^(?:"([^"]*)"|'([^'])*'|([^>\s]))/;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @param {import('../index.js').Parser} parser
|
|
|
|
* @param {import('../index.js').Parser} parser
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|