[jbosstools-issues] [JBoss JIRA] (JBIDE-10946) <#noescape> without having seen <#escape> is not necessarily an error

Jiri Peterka (JIRA) issues at jboss.org
Wed Sep 3 05:14:01 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-10946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Peterka closed JBIDE-10946.
--------------------------------


Verified with JBDS 8.0.0.CR1, Fedora 20

> <#noescape> without having seen <#escape> is not necessarily an error
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-10946
>                 URL: https://issues.jboss.org/browse/JBIDE-10946
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: freemarker
>         Environment: FreeMarker IDE 1.1.0.v20111025-0320-H192-Final
> Eclipse Java EE IDE for Web Developers.
> Version: Indigo Release
> Build id: 20110615-0604
> Win7 x64 Java 7
>            Reporter: Chris West
>            Assignee: Max Rydahl Andersen
>             Fix For: 4.2.0.CR1
>
>
> Currently FreeMarker IDE presents an error for each instance of <#noformat> it encounters, unless it's already seen a <#escape x as x?html> in the same file:
> {code:xml}
> <#noformat>
>   ${a.b} ${c}
> </#noformat>
> {code}
> {noformat}
> Error in template: foo.ftl
> on line 1, column 1
> noescape with no matching escape encountered.
> {noformat}
> This template may have been included:
> {code:xml}
> <#escape x as x?html>
>   <#include "foo.ftl">
> </#escape>
> {code}
> ... or may have been wrapped in a loader which does effectively the same thing, for example, http://watchitlater.com/blog/2011/10/default-html-escape-using-freemarker/
> This results in many spurious error reports.  Please allow me to disable these.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list