• With the latest version of Enlighter (4.6.1), I’m getting this error with any <pre> tags that were previously created with Crayon.

    ENLIGHTER::INVALID_CODE_FRAGMENT

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    did you checked the troubleshooting guide ?
    the current version changed the filters which are used by the crayon compatibility mode – the message above indicates that the content is modified before the restore action were applied. this can normally only caused by a third party plugin.

    could you please provide a raw code snippet of your crayon code ?

    Thread Starter snowme

    (@snowme)

    Hi Andy,

    Sorry I didn’t see the troubleshooting guide before posting. I tried disabling some plugins that might conflict and now it just outputs as “array”. Here is one of my Crayon <pre> tags

    <pre class="lang:sh decode:true " title="Peeking into your Database" >sudo ls /var/lib/mysql/databasename
    sudo more /var/lib/mysql/databasename/tablename.ibd</pre> 

    I’ll need to setup a test site to test with all plugins disabled.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Crayon pre error’ is closed to new replies.