Closed rchl closed 4 years ago
I've also tried with current master branch of scala syntax (pictured on the screenshot) but it seems to have no impact on this issue.
I think the problem are the {
/}
pairs used by the template. I'm actually not certain that this is correct syntax, but I admit that it's immensely difficult for me to puzzle it out. Does scalac actually parse this? If so, is there an identifiable semantic which causes it to not treat the {
/}
template pairs as being XML-mode escapes?
We have an app that uses those exact templates (unobfuscated of course) and they work. But not sure what is used exactly to parse those. I can ask for more details if you want :)
It's used in a Java Play framework (https://www.playframework.com/documentation/2.8.x/ScalaTemplates#The-template-engine). So maybe it's not scala but just based on Scala as the text says there?
That's how I understand it so I'll close this issue. It doesn't seem like anyone made syntax for the Twirl templating language which is shame. :)
Some HTML tags are highlighted as invalid in this messy but hopefully correct template: