summaryrefslogtreecommitdiff
path: root/roundcubemail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-15 11:43:01 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-15 11:43:01 +0000
commit0b8e5ea19d83fbab56687028ec7cde02109408c2 (patch)
tree81109e1925f90db8d5b66bbbfef30d44cd86b6aa /roundcubemail
parente82332a82eb9675b928381f9a053a87c99497f21 (diff)
- Force allowed attributes on table rows
git-svn-id: https://svn.roundcube.net/trunk@4854 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
-rw-r--r--roundcubemail/program/include/html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/html.php b/roundcubemail/program/include/html.php
index b376d8a88..d09727898 100644
--- a/roundcubemail/program/include/html.php
+++ b/roundcubemail/program/include/html.php
@@ -713,7 +713,7 @@ class html_table extends html
foreach ($this->header as $c => $col) {
$rowcontent .= self::tag('td', $col->attrib, $col->content);
}
- $thead = self::tag('thead', null, self::tag('tr', null, $rowcontent));
+ $thead = self::tag('thead', null, self::tag('tr', null, $rowcontent, parent::$common_attrib));
}
foreach ($this->rows as $r => $row) {
@@ -723,7 +723,7 @@ class html_table extends html
}
if ($r < $this->rowindex || count($row->cells)) {
- $tbody .= self::tag('tr', $row->attrib, $rowcontent);
+ $tbody .= self::tag('tr', $row->attrib, $rowcontent, parent::$common_attrib);
}
}