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>', 

Comments

naudefj’s picture

Version: 5.x-2.1 » master
Assigned: Unassigned » naudefj
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.