Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
wants to merge 1 commit into from

2 participants

Matthias Dietrich Gerda Shank
Matthias Dietrich

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

Gerda Shank
Owner

Already applied.

Gerda Shank 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. Matthias Dietrich
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
2  lib/HTML/FormHandler/Widget/Field/ButtonTag.pm
View
@@ -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.