{LITERAL_DQ_STRING_START} { EXEC(literal_dq_string_start()) }
<dqstr,unesc_dqstr>{LITERAL_DQ_STRING_END} { dealias_append(); ECHO; BEGIN(divop); }
-<dqstr,unesc_dqstr>{HTML_TAG_SCRIPT_OPEN} { if (!ext_script) { opening_tag_seen = true; } ECHO; }
+<dqstr,unesc_dqstr>{HTML_TAG_SCRIPT_OPEN} { ECHO; }
<dqstr,unesc_dqstr>{HTML_TAG_SCRIPT_CLOSE} { if (!ext_script) { BEGIN(regst); RETURN(CLOSING_TAG) } else { ECHO; } }
<dqstr,unesc_dqstr>\\{CR}{LF} { /* skip */ }
<dqstr,unesc_dqstr>\\{LF} { /* skip */ }
{LITERAL_SQ_STRING_START} { EXEC(literal_sq_string_start()) }
<sqstr,unesc_sqstr>{LITERAL_SQ_STRING_END} { dealias_append(); ECHO; BEGIN(divop); }
-<sqstr,unesc_sqstr>{HTML_TAG_SCRIPT_OPEN} { if (!ext_script) { opening_tag_seen = true; } ECHO; }
+<sqstr,unesc_sqstr>{HTML_TAG_SCRIPT_OPEN} { ECHO; }
<sqstr,unesc_sqstr>{HTML_TAG_SCRIPT_CLOSE} { if (!ext_script) { BEGIN(regst); RETURN(CLOSING_TAG) } else { ECHO; } }
<sqstr,unesc_sqstr>\\{CR}{LF} { /* skip */ }
<sqstr,unesc_sqstr>\\{LF} { /* skip */ }
{
test_normalization_noident(
unexpected_tag_buf2, unexpected_tag_expected2,
- {check_open_tag(true)});
+ {check_open_tag(false)});
}
SECTION("open tag within literal - mid")
{
test_normalization_noident(
unexpected_tag_buf3, unexpected_tag_expected3,
- {check_open_tag(true)});
+ {check_open_tag(false)});
}
SECTION("open tag within literal - end")
{
test_normalization_noident(
unexpected_tag_buf4, unexpected_tag_expected4,
- {check_open_tag(true)});
+ {check_open_tag(false)});
}
SECTION("close tag within literal - start")
test_normalization_noident(
{
test_normalization_noident(
unexpected_tag_buf8, unexpected_tag_expected8,
- {check_open_tag(true)});
+ {check_open_tag(false)});
}
SECTION("close tag within literal - escaped")
{
{
test_normalization_noident(
unexpected_tag_buf23, unexpected_tag_expected23,
- {check_open_tag(true)});
+ {check_open_tag(false)});
}
SECTION("mixed lower and upper case")
{
test_normalization_noident(
unexpected_tag_buf24, unexpected_tag_expected24,
- {check_open_tag(true)});
+ {check_open_tag(false)});
}
SECTION("opening tag within template literal")
{