Getting CodeFilter to work in WYSIWYG

CodeFilter is a Drupal module that highlights source , [ ?php ? ], < % % >, and [ % % ] to prevent other filters from acting on them. */ $text = preg_replace_callback(‘@(.+?)@s’, ‘_codefilter_escape_code_tag_callback’, $text); $text = preg_replace_callback(‘@\(.+?)\@s’, ‘_codefilter_escape_code_tag_callback’, $text); $text = preg_replace_callback(‘@[\[]@s’, ‘_codefilter_escape_php_tag_callback’, $text); $text = preg_replace_callback(‘@(\[|\)@s’, ‘_codefilter_escape_php_tag_callback3’, $text); return $text; } and […]