Skip to content

Commit

Permalink
Removed table inline styles
Browse files Browse the repository at this point in the history
  • Loading branch information
sharmasahil committed Nov 21, 2024
1 parent aa1d554 commit b04c022
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ public function addTableStylesToProcessed(&$data) {
for ($i = 0; $i < $tableCount; $i++) {
$valueTable = $valueTables->item($i);
$processedTable = $processedTables->item($i);
// Transfer the inline style from valueTable to processedTable.
if ($valueTable->hasAttribute('style')) {
$styleValue = $valueTable->getAttribute('style');
$processedTable->setAttribute('style', $styleValue);
}

// Process <col> elements in both DOMs.
$valueCols = $valueTable->getElementsByTagName('col');
Expand Down

0 comments on commit b04c022

Please sign in to comment.