| 1 | <?php |
||
| 15 | class Td extends OpenElement implements SectioningRoot |
||
| 16 | { |
||
| 17 | 1 | protected function getAllowedAttributes() |
|
| 18 | { |
||
| 19 | $tdAllowedAttributes = array( |
||
| 20 | 1 | '/^colspan$/i' => Attribute::INT, |
|
| 21 | '/^rowspan$/i' => Attribute::INT, |
||
| 22 | '/^headers$/i' => Attribute::CS_STRING |
||
| 23 | ); |
||
| 24 | |||
| 25 | 1 | return array_merge( |
|
| 26 | 1 | $tdAllowedAttributes, |
|
| 27 | 1 | parent::getAllowedAttributes() |
|
| 28 | ); |
||
| 29 | } |
||
| 30 | |||
| 31 | 4 | protected function removeInvalidSelf(LoggerInterface $logger) : bool |
|
| 43 | } |
||
| 44 |