Permalink
Browse files

HTML::FH::Widget::Field::Span - fixed starting tag

Starting tag should not be considered a void tag!
  • Loading branch information...
1 parent 36ad09e commit 949fc2c812847d6c9688a97d44d4912390cafd1e @cgx cgx committed Oct 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/HTML/FormHandler/Widget/Field/Span.pm
View
2 lib/HTML/FormHandler/Widget/Field/Span.pm
@@ -20,7 +20,7 @@ sub render_element {
my $output = '<span';
$output .= ' id="' . $self->id . '"';
$output .= process_attrs($self->element_attributes($result));
- $output .= ' />';
+ $output .= '>';
$output .= $self->value;
$output .= '</span>';
return $output;

0 comments on commit 949fc2c

Please sign in to comment.