function _geshifilter_prepare_php_callback in GeSHi Filter for syntax highlighting 5.2
Same name and namespace in other branches
- 6 geshifilter.pages.inc \_geshifilter_prepare_php_callback()
- 7 geshifilter.pages.inc \_geshifilter_prepare_php_callback()
_geshifilter_prepare callback for < ?php ... ? > blocks
1 string reference to '_geshifilter_prepare_php_callback'
- _geshifilter_prepare in ./
geshifilter.pages.inc - geshifilter_filter callback for preparing input text.
File
- ./
geshifilter.pages.inc, line 178
Code
function _geshifilter_prepare_php_callback($match) {
return '[geshifilter-questionmarkphp]' . str_replace(array(
"\r",
"\n",
), array(
'',
' ',
), check_plain($match[2])) . '[/geshifilter-questionmarkphp]';
}