Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Button opening tag shouldn't end with `/>` #28

Closed
wants to merge 1 commit into from

2 participants

@rainboxx

Produces invalid HTML which sometimes won't be displayed correctly.

@gshank
Owner

Already applied.

@gshank gshank closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 29, 2012
  1. @rainboxx
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/HTML/FormHandler/Widget/Field/ButtonTag.pm
View
2  lib/HTML/FormHandler/Widget/Field/ButtonTag.pm
@@ -13,7 +13,7 @@ sub render {
my $output = '<button type="' . $self->input_type . '" name="'
. $self->html_name . '" id="' . $self->id . '"';
$output .= process_attrs($self->element_attributes($result));
- $output .= '/>';
+ $output .= '>';
$output .= $self->_localize($self->value);
$output .= "</button>";
Something went wrong with that request. Please try again.