Skip to content

Commit

Permalink
Do not add redundant id attribute. It doesn't make the output any
Browse files Browse the repository at this point in the history
more standards compliant.
  • Loading branch information
jimwins committed Apr 25, 2002
1 parent 54440c8 commit bc977dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ext/standard/url_scanner_ex.re
Original file line number Diff line number Diff line change
Expand Up @@ -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, "\" />");
Expand Down

0 comments on commit bc977dd

Please sign in to comment.