function geshifilter_prepare_callback in GeSHi Filter for syntax highlighting 7
Prepare callback for the GeSHi filter.
1 string reference to 'geshifilter_prepare_callback'
- geshifilter_filter_info in ./
geshifilter.module - Implements hook_filter_info().
File
- ./
geshifilter.module, line 191 - An input filter for syntax highlighting using the GeSHi library.
Code
function geshifilter_prepare_callback($text, $filter) {
require_once drupal_get_path('module', 'geshifilter') . '/geshifilter.pages.inc';
return _geshifilter_prepare($filter->format, $text);
}