diff options
author | Anika Henke <anika@selfthinker.org> | 2010-06-27 12:41:23 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2010-06-27 12:41:23 +0100 |
commit | a8574918a3bd65683f0a2de4a3f26dd0ec2c410f (patch) | |
tree | 0d1ef007f8fb43a56e6056a7cd82e68a2268ab48 | |
parent | 1a93c67cff4a7b3e30186141cd17f4ba6e113e84 (diff) | |
download | rpg-a8574918a3bd65683f0a2de4a3f26dd0ec2c410f.tar.gz rpg-a8574918a3bd65683f0a2de4a3f26dd0ec2c410f.tar.bz2 |
added div around tables to make scrolling too wide ones in restrictive designs possible (FS#1980)
-rw-r--r-- | inc/parser/xhtml.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index c5a8b8218..78f6d3f84 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -906,11 +906,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer { global $lang; // initialize the row counter used for classes $this->_counter['row_counter'] = 0; - $this->doc .= '<table class="inline ' . $this->startSectionEdit($pos, 'table') . '">'.DOKU_LF; + $this->doc .= '<div class="table"><table class="inline ' . $this->startSectionEdit($pos, 'table') . '">'.DOKU_LF; } function table_close($pos){ - $this->doc .= '</table>'.DOKU_LF; + $this->doc .= '</table></div>'.DOKU_LF; $this->finishSectionEdit($pos); } |