PHP open and close tags commented

Search
Other Bug Reports questions
Forum

PHP open and close tags commented

Simone's Avatar Simone
Im using Joomla 3.10.5 and latest Sourcerer version, i noticed if i use some editors (both in WYSIWYG mode or code edit mode) the php open and close tags are automatically commented:
<!--?php
  // my PHP code
?-->

This happens with Jodit Editor and DropEditor for example.
But if i use TinyMCE or CodeMirror it's ok.
Peter van Westen's Avatar Peter van Westen ADMIN
This is not an issue with Sourcerer. It is your editor that is doing that.
Check the editor settings (or ask their support) to see if you can switch off the PHP code protection.
Otherwise: docs3.regularlabs.com/sourcerer/faqs/tro...n-i-save-the-article
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in