Sublime Forum

PHP tag snippet syntax problem

#1

I want to add a snippet so that when I Type:

<? I get these in the autocomplete menu: <?php ?> <?= ?>

However when I try to add:
<?
to my snippet code, and save it, I get an error, because the <? breaks the XML. Can you help me figure out a work around?

Thanks!

0 Likes