We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18373 ☆ A M B ☆
    • 3,141 Posts
    Quote from: lossendae at Aug 03, 2010, 06:50 PM

    Hello BobRay and Mark,

    Do you both use an RTE to write your articles ?

    I think in this case I did... but it’s a while ago, lol.

    But after that and trying other similar plugins and simply embedding syntaxhighlighters in the head of the page, I decided to also get rid of TinyMCE and just write in html.
      Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

      Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
      • 17499 ☆ A M B ☆
      • 872 Posts
      I did several additional test, it’s only when used in combination with tinyMCE that the plugin and/or the snippet don’t work.

      If datas are saved with htmlspecialchars in the db, GeSHI mess up the code highligting. If the data is saved as typed there are no problem.

      It only happen if the pre has no class.