Table tags
sinuz - January 17, 2008 - 21:11
| Project: | Bbcode |
| Version: | HEAD |
| Component: | BBCode Tags |
| Category: | feature request |
| Priority: | normal |
| Assigned: | naudefj |
| Status: | closed |
Jump to:
Description
The table parser used in the BBCode module does not attaches a css class to the table's generated by this module. I changed the following part of the bbcode-filter.inc file.
// Table tags
'#\[table\](.+?)\[/table\]#si' => '<table border>\\1</table>',
'#\[(row|r|tr)\](.+?)\[/(row|r|tr)\]#si' => '<tr>\\2</tr>', To this:
// Table tags
'#\[table\](.+?)\[/table\]#si' => '<table class="bb-table">\\1</table>',
'#\[(row|r|tr)\](.+?)\[/(row|r|tr)\]#si' => '<tr>\\2</tr>', 
#1
See http://drupal.org/cvs?commit=96310
#2
Automatically closed -- issue fixed for two weeks with no activity.