is it possible to make the HAML pre-proccessor ignore for I.E. <?= $test ?>
and just print it out as it is? To then turn the HTML file into a PHP file to be used as a template.
If using code in page with .html
extension then it will directly shown the PHP
code as it is.
But for .php
file, htmlentities can be used. For example:
echo htmlentities('<?= $test ?>');