Skip to content

Commit

Permalink
MDL-68148 core: remove cellspacing
Browse files Browse the repository at this point in the history
The cellspacing attribute of <table> is not supported in HTML5.
So the removed line did not have any effect since ages ago.
  • Loading branch information
rezaies committed Apr 8, 2020
1 parent 08a6224 commit 1a5c2ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/tablelib.php
Expand Up @@ -1523,7 +1523,6 @@ class table_sql extends flexible_table {
function __construct($uniqueid) {
parent::__construct($uniqueid);
// some sensible defaults
$this->set_attribute('cellspacing', '0');
$this->set_attribute('class', 'generaltable generalbox');
}

Expand Down

0 comments on commit 1a5c2ae

Please sign in to comment.