Sublime Forum

[Solved] Syntax highlighting breaks when placing PHP Variable within HTML attribute

#1

Whenever working with a PHP file, the syntax highlight breaks after adding a PHP variable into an HTML attribute. This happened after the last update.

0 Likes

#2

This has been fixed with the latest version of the PHP syntax at https://github.com/sublimehq/Packages. It will be part of the next dev build.

If you are prepared to use git and undo a temporary patch when the next build comes out, you can follow the instructions in the readme of that repo to use the latest version of PHP with the current build.

1 Like

#3

Thank you!

0 Likes