angular-ui / AngularJS-Atom

An AngularJS package for Github's Atom editor
https://atom.io/packages/angularjs
MIT License
284 stars 49 forks source link

ng-src parses protocol relative links as comments #43

Closed erickrawczyk closed 8 years ago

erickrawczyk commented 9 years ago

Found on Atom 1.0.4 with AngularJS-Atom v0.3.0 on Mac OSX 10.10.3. Replicated on another machine with same specs and install.

When set to HTML (Angular) and using protocol relative links with ng-src (e.g. //path/to/src instead of http://path/to/src), the path is parsed incorrectly and interpreted as a comment, which flubs the rest of the file and prevents tab autocompletes.

image

Any ideas on this?

outsideris commented 9 years ago

I will try to debug it. Thank you for reporting.