"Unescaped XML character" ERROR

I'm getting this error all over in my javascript code section of a php file.


In the image you can see 6 errors highlighted with red squiggly underlines:

PhpStorm.PNG

Any ideas what the problem is? I'm using PhpStorm 7.1.3

2 comments
Comment actions Permalink

Looks similar to http://youtrack.jetbrains.com/issue/WEB-10162
Can you provide the file that shows up the issue?

0
Comment actions Permalink

Yes, I think it is the same issue. The file is attached.

The problem may be precipitated by the PHP code used to emit some of the JavaScript code? I haven't checked that. There is a PHP block in the middle of the JS block there you'll find.



Attachment(s):
registration_example.php.zip
0

Please sign in to leave a comment.