October 12, 2008, Sunday, 285

Talk:WordPress:CodeHighlighterPlugin

From IdeA thinKING

Jump to: navigation, search

i cant write "0x378" because : "0& #215;378" ( without space )

How to repair it ?

You can add the following line to fix the problem before '$geshi =& new GeSHi($code, $lang);' line.
$code = str_replace('& #215', 'x', $code);
It might be caused by WP, and I think it's better than modifing the WP code.