Sublime Forum

Style attributes in HTML cause syntax highlighting to fail

#1

Removing the style attribute fixes the highlighting, but otherwise everything turns green… It’s like it doesn’t see the closing double quote character.

I’ve removed any packages I thought might be conflicting with no success, this only happened after the latest update.

Any ideas how to fix it?

0 Likes

#2

as it seems to work fine out the box in build 3170, you could try
https://www.sublimetext.com/docs/3/revert.html

0 Likes

#3

Could you post a complete list of every package you have installed?

0 Likes

#4

I’m not sure what exactly it was, but I narrowed it down to being something with preferences and php syntax. I’m on work time so I had to just remove everything and re-install my needed stuff and I’ll get everything else as and when I need it. I might discover the problem then.

All good so far though.

0 Likes