]> granicus.if.org Git - php/commitdiff
Do not add redundant id attribute. It doesn't make the output any
authorjim winstead <jimw@php.net>
Thu, 25 Apr 2002 22:12:38 +0000 (22:12 +0000)
committerjim winstead <jimw@php.net>
Thu, 25 Apr 2002 22:12:38 +0000 (22:12 +0000)
more standards compliant.

ext/standard/url_scanner_ex.re

index 508a792435c60e838e8d0ad38c94b419df94b87c..4d7c507894085eab2dd4a61e089f7a7774c4ff71 100644 (file)
@@ -187,8 +187,6 @@ static inline void handle_form(STD_PARA)
        if (ctx->tag.len == 4 && strncasecmp(ctx->tag.c, "form", 4) == 0) {
                smart_str_appends(&ctx->result, "<input type=\"hidden\" name=\""); 
                smart_str_append(&ctx->result, &ctx->q_name);
-               smart_str_appends(&ctx->result, "\" id=\"");
-               smart_str_append(&ctx->result, &ctx->q_name);
                smart_str_appends(&ctx->result, "\" value=\"");
                smart_str_append(&ctx->result, &ctx->q_value);
                smart_str_appends(&ctx->result, "\" />");