The code is not shown but altered
-
Please ignore this message as the problem described below lays on another plugin which replaced a portion of the code with its Latex equivalent (?!)
——-
If I embed the following code:preg_match_all(“/\[phpcode\](.*?)\[\/phpcode\]/s”, $content, $matches);
foreach ($matches[1] as $php_filter_key => $match) {
$match = html_entity_decode($match);
$match = preg_replace(‘@<[\/\!]*?[^<>]*?>@si’, ”, $match);
…..the plug-in will not show/highlight all the code but instead will alter its content.
See this screenshot for more details.
Note that I use the version 2.5.0 of this plug-in.
The topic ‘The code is not shown but altered’ is closed to new replies.