Revision 4a2714a5
Von Tamino Steinert vor 6 Monaten hinzugefügt
- ID 4a2714a5e6489c6a6b914f2532c1e329fbb4e1ee
- Vorgänger 10d07d12
SL/Presenter/Tag.pm | ||
---|---|---|
my ($tag, $content, %params) = @_;
|
||
my $attributes = stringify_attributes(%params);
|
||
|
||
return "<${tag}${attributes}>" if !defined($content) && $_singleton_tags{$tag};
|
||
return "<${tag}${attributes}/>" if !defined($content) && $_singleton_tags{$tag};
|
||
return "<${tag}${attributes}>${content}</${tag}>";
|
||
}
|
||
|
Auch abrufbar als: Unified diff
FIX: S:P:Tag: Schließe auch Singletons