Illumination is normal, until it reaches to php+html+js.
how to fix?
Sublime and PHP
werchter
#2
I suppose Sublime supports the heredoc syntax, but it looks like type tag (or actually, not closing it) is the thing that breaks the syntax highlighting in your example.
Although probably not a permanent solution, this is a quick fix for this specific code:
?><script type="text/javascript"><?php
echo <<<<HTML
// javascript code here
HTML;
0 Likes