You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#117501 In folow up on #117496 The JCE Editor inserts the 'comment out' code when the article is saved

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Koos on Sunday, 21 December 2025 22:34 GMT

Koos

Ryan wonders why this code is there. The JCE editor placed it. Why if the code is right? What is wrong here and why is the HTML code not working within {source}. Our programmer sais it works on other sites

 

Ryan

The JCE editor placed it. Why if the code is right? What is wrong here and why is the HTML code not working within {source}.

If you switch to "No Editor" then correct the code and save the content, is the code still commented?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Koos

Yes, with editor state 'off' the code is still commented out

 

Ryan

This confirms that JCE is not commenting out the code, but that it is being done by another extension. Do you have any "security" extensions installed, eg: RS Firewall or Admin Tools, or something similar?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Koos

Not  that I know. Only Jsitemap pro. rapid  contact ex, pop any module, Regular Labs Library, akeeba backup

 

Koos

all article text filters are off, only public and guest on with html 

 

Ryan

The Joomla Tinymce editor comments out the PHP tags, not JCE:

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Koos

Oke but I am using JCE. Wat can I do about it?

 

Ryan

You said earlier that this still happens when you sitch to "No Editor" in the Joomla Global Configuration?

So the code is being changed only when you save?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Koos

Yes when saving in code screen. When switchig to editot screen and then saving the php code remains in order

 

Ryan

As a workaround for this, go to Editor Profiles -> Plugin Parameters -> Code Editor, and set Validate Content to No.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Koos

Thank you Ryan. A few days before we found another workaround that works:  The workaround is:  {source raw="true"} Now only the code within {source} is not validated.