diff --git a/src/modules/Parser/html.c b/src/modules/Parser/html.c index c2cf863f33106c917336af8b402976a8f60fec09..046b203b81b3ea9af7b31794b7776fdb75cf219e 100644 --- a/src/modules/Parser/html.c +++ b/src/modules/Parser/html.c @@ -3388,7 +3388,7 @@ static newstate do_try_feed(struct parser_html_storage *this, goto parse_entity; default: { - int quote = ctx - CTX_TAG_QUOTED_ARG; + int quote; p_wchar2 end_found; DEBUG((stderr,"%*d do_try_feed scan in tag arg\n", @@ -3399,6 +3399,8 @@ static newstate do_try_feed(struct parser_html_storage *this, return STATE_WAIT; continue_in_arg: + quote = ctx - CTX_TAG_QUOTED_ARG; + DEBUG_MARK_SPOT ("do_try_feed at arg val", dst, cdst); if (!(res = scan_forward_arg (this, dst, cdst, &dst, &cdst, scan_entity ? SCAN_ARG_ENT_BREAK : SCAN_ARG_ONLY,