projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b9a530
)
Wir verwenden kein XHTML sondern HTML, also contentlose tags nicht mit /> zumachen.
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 17 Oct 2011 08:18:59 +0000
(10:18 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 17 Oct 2011 08:18:59 +0000
(10:18 +0200)
SL/Template/Plugin/L.pm
patch
|
blob
|
history
diff --git
a/SL/Template/Plugin/L.pm
b/SL/Template/Plugin/L.pm
index
bf0d541
..
d7db2a2
100644
(file)
--- a/
SL/Template/Plugin/L.pm
+++ b/
SL/Template/Plugin/L.pm
@@
-74,7
+74,7
@@
sub html_tag {
my ($self, $tag, $content, @slurp) = @_;
my $attributes = $self->attributes(@slurp);
- return "<${tag}${attributes}
/
>" unless defined($content);
+ return "<${tag}${attributes}>" unless defined($content);
return "<${tag}${attributes}>${content}</${tag}>";
}