Sublime Forum

PHP detection doesn't work inside HTML Quotes

#1

having a tag like this

<tag value="<?php echo $value; ?>">value</tag>

doesn’t highlight the php with the correct color scheme for it and treats it as an HTML String

0 Likes

#2

image

Cannot reproduce.

I guess you somehow use HTML syntax to parse/highlight a PHP file?

0 Likes