Reputation: 35
I can't figure out why PhpStorm IDE is treating src HTML attribute as a JavaScript code (or a kind of regular expression). After code inspection this error is assigned to "JavaScript validity issues".
Have someone resolved this error before? Can I solve it some other way than turning off inspection?
Upvotes: 0
Views: 87
Reputation: 35
As @LazyOne wrote, the solution to this issue was to uncheck the xml: img/@src
language injection in Settings/Preferences | Editor | Language Injections
:
Upvotes: 1