+11

PHP inside a Javascript string Highlighting bug

Mauno Lempiäinen hace 13 años actualizado por James Homer hace 13 años 1

Sublime doesn't recognize php tags inside a javascript string:


$addDialog = $('<div><?php echo $this->Form->input('parent_id', array('type' => 'hidden', 'div' => false));?></div>');

It highlights the above php code as string and 'cuts' highlighting the JS string when ever there is a ' chracter in php code.
+1
This is an absolute dealbreaker for me, cannot use without