From 993ce983245b38b7492c82f29f008ffa0247c973 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 17 Oct 2011 10:22:13 +0200 Subject: [PATCH] =?utf8?q?texarea=20tags=20m=C3=BCssen=20immer=20numerisch?= =?utf8?q?e=20Werte=20in=20=20cols=20und=20rows=20haben.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Template/Plugin/L.pm | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.20.1