Search code examples
idewebstorm

Broken syntax highlighting in WebStorm


I have some how changed how WebStorm sees the div tag. It looks like it is doing syntax highlighting for some language. Below is a screen shot of what it looks like. The file is saved as index.html and it is only the div tags that give the issue.

enter image description here

Any help would be great. I am not sure what other information would help, as I have no idea of what I did.


Solution

  • As per Iena's comment. The solution was to go into Settings | Editor | Language Injections and remove the div tag from the list.