Table tags

sinuz - January 17, 2008 - 21:11
Project:Bbcode
Version:HEAD
Component:BBCode Tags
Category:feature request
Priority:normal
Assigned:naudefj
Status:closed
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

naudefj - January 18, 2008 - 14:42
Version:5.x-2.1» HEAD
Assigned to:Anonymous» naudefj
Status:active» fixed

See http://drupal.org/cvs?commit=96310

#2

Anonymous (not verified) - February 1, 2008 - 14:54
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.