scala-ide / scala-ide-play2

Play 2 support for Scala IDE
107 stars 32 forks source link

Templates parser/compiler doesn't handle escaped '@' character properly #201

Open slothspot opened 10 years ago

slothspot commented 10 years ago

Consider following excerpt from template: <a href="mailto:sloth.spot@@gmail.com">

In such case template compiler produces following error: "not found: value gmail" which is false positive in this case.

slothspot commented 10 years ago

Described problem happens only when template is parameters less and @() missed at the beginning of template. Not sure about validness of template itself when such opening is missed through.