Treat FreeMarker templates as XML, not HTML

Is this possible? Thanks.

0
Avatar
Permanently deleted user

I don't know about FreeMarker but I get IntelliJ to treat Velocity templates as xml by including xml in the name, e.g., TemplateFile.xml.vm.

0

Hi Yuri,
Check the "Template Data Languages" setting.
-tt

0
Avatar
Permanently deleted user

Thanks, that's it.

0

请先登录再写评论。