You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is I need to strip out all content that is not usable for a text representation. This includes PHP tags which would normally interpreted by your PHP engine. I would suggest to escape all php tags, cause you want them to be displayed instead of interpreted.
Given the following,
It makes no sense to strip out the
<?php ... ?>
part.This applies to other template styles, such as
<% ... %>
or shorthand styles<?= ... ?>
.Simplest solution to this would probably to have tag suffice/prefix pair exclusion rules.
eg.
[ ['<%', '%>'], [ '<?', '?>' ] ...
The text was updated successfully, but these errors were encountered: