Index: bbcode-filter.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/bbcode/bbcode-filter.inc,v retrieving revision 1.59 diff -u -p -r1.59 bbcode-filter.inc --- bbcode-filter.inc 26 May 2007 07:06:04 -0000 1.59 +++ bbcode-filter.inc 26 May 2007 08:12:32 -0000 @@ -70,6 +70,8 @@ function _bbcode_filter_process(&$body, for ($i = 0; $i < $unclosed; $i++) $body .= '[/list]'; + $body = preg_replace('#(?<=\[quote=(["\']))(.*?)(?=\\1\])#esi', "str_replace(']', ']', '$2'", $body); + // Define BBCode tags $preg = array( // Implement [notag]