From: Sven Schöling Date: Mon, 17 Oct 2011 08:22:13 +0000 (+0200) Subject: texarea tags müssen immer numerische Werte in cols und rows haben. X-Git-Tag: release-2.7.0beta1~215^2~21 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=993ce983245b38b7492c82f29f008ffa0247c973;p=kivitendo-erp.git texarea tags müssen immer numerische Werte in cols und rows haben. --- diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index d7db2a239..eff454848 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -95,6 +95,8 @@ sub textarea_tag { my %attributes = _hashify(@slurp); $attributes{id} ||= $self->name_to_id($name); + $attributes{rows} *= 1; # required by standard + $attributes{cols} *= 1; # required by standard $content = $content ? _H($content) : ''; return $self->html_tag('textarea', $content, %attributes, name => $name);