⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Can't get syntax coloration in the forum editor



MiamMiam
  • profile picture
  • Member

Posted 12 January 2013 - 13:57 PM

Hi,

I want to insert php code in a post in this forum but I can't get the syntax coloration.

Here is what I get (no color) :

<?php echo 'hello'; ?>


Source code in the editor :

[ CODE]<?php echo 'hello'; ?>[/CODE]
(space added after the '[' to avoid interpretation)

Any help ? Thanks

MiamMiam
  • profile picture
  • Member

Posted 12 January 2013 - 19:39 PM

Now I understand.

The syntax coloration does not work in the preview but it works fine when the message has been posted.

Ciao