Changeset 3f3ec14 in github


Ignore:
Timestamp:
Jun 15, 2011 7:43:01 AM (2 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
5f2d158
Parents:
feac485
Message:
  • Force allowed attributes on table rows
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/html.php

    rfeac485 r3f3ec14  
    714714                $rowcontent .= self::tag('td', $col->attrib, $col->content); 
    715715            } 
    716             $thead = self::tag('thead', null, self::tag('tr', null, $rowcontent)); 
     716            $thead = self::tag('thead', null, self::tag('tr', null, $rowcontent, parent::$common_attrib)); 
    717717        } 
    718718 
     
    724724 
    725725            if ($r < $this->rowindex || count($row->cells)) { 
    726                 $tbody .= self::tag('tr', $row->attrib, $rowcontent); 
     726                $tbody .= self::tag('tr', $row->attrib, $rowcontent, parent::$common_attrib); 
    727727            } 
    728728        } 
Note: See TracChangeset for help on using the changeset viewer.