summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjim winstead <jimw@php.net>2002-04-25 22:12:38 +0000
committerjim winstead <jimw@php.net>2002-04-25 22:12:38 +0000
commitbc977dd195063a47c42c81255b82dd15e87e155e (patch)
tree86c253788bccc7e574f093c254a020e940e9f748
parent54440c8bfdaf289ab6de91eb49b493d06eaea917 (diff)
downloadphp-git-bc977dd195063a47c42c81255b82dd15e87e155e.tar.gz
Do not add redundant id attribute. It doesn't make the output any
more standards compliant.
-rw-r--r--ext/standard/url_scanner_ex.re2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re
index 508a792435..4d7c507894 100644
--- a/ext/standard/url_scanner_ex.re
+++ b/ext/standard/url_scanner_ex.re
@@ -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, "\" />");