Crayon Syntax Highlighter
The code is not shown but altered (1 post)

  1. Eugen Mihailescu
    Posted 2 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Crayon Syntax Highlighter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Eugen Mihailescu
  • This topic is not resolved
  • WordPress version: 3.8.1


No tags yet.