cvs: php4 /ext/standard url_scanner_ex.re
| From: | jim winstead | Date: | Thu, 25 Apr 2002 22:12:42 +0000 |
| Subject: | cvs: php4 /ext/standard url_scanner_ex.re | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11442@lists.php.net to get a copy of this message | ||
jimw Thu Apr 25 18:12:42 2002 EDT
Modified files:
/php4/ext/standard url_scanner_ex.re
Log:
Do not add redundant id attribute. It doesn't make the output any
more standards compliant.
Index: php4/ext/standard/url_scanner_ex.re
diff -u php4/ext/standard/url_scanner_ex.re:1.48 php4/ext/standard/url_scanner_ex.re:1.49
--- php4/ext/standard/url_scanner_ex.re:1.48 Thu Apr 25 02:30:09 2002
+++ php4/ext/standard/url_scanner_ex.re Thu Apr 25 18:12:38 2002
@@ -187,8 +187,6 @@
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, "\" />");