I am already using this in configuration:
config.protectedSource.push(/<\?[\s\S]*?\?>/g);
However, PHP tags get changed to comment tags.
Example:
<?php echo $test; ?>
Gets changed to:
<!--?php echo $test; ?-->
Therefore when we save the content to the DB it doesn't get saved as it should. Any thoughts?
config.protectedSource.push(/<\?[\s\S]*?\?>/g);
However, PHP tags get changed to comment tags.
Example:
<?php echo $test; ?>
Gets changed to:
<!--?php echo $test; ?-->
Therefore when we save the content to the DB it doesn't get saved as it should. Any thoughts?