0

So this isn't supposed to be happening:

enter image description here

That's a properly formatted heredoc, but it looks like Submlime sees<<<HTML as an unterminated <html> tag. Does anyone else have this issue? Is there a fix?

matt lohkamp
  • 2,174
  • 3
  • 28
  • 47

1 Answers1

2

According to this forum post, this is a bug in the TextMate language bundle, and the problem can fixed by either upgrading that bundle, or moving to ST3 (which appears to contain the newer bundle). e.g.,

ST3:

Sublime Text 3 in PHP Highlighting Mode

vs ST2:

Sublime Text 2 in PHP Highlighting Mode

TML
  • 12,813
  • 3
  • 38
  • 45
  • sublime 2. I'll take a look into updating the syntax definition file - thanks! I tried to search this up a bunch but I think the terms are too close to other issues and I kept coming up with other people's solutions to unrelated problems. – matt lohkamp Oct 03 '14 at 22:59