[jira] [Commented] (OFBIZ-6671) In freemarker template(FTL) Whitespace is getting parsed,i want to stop that parsing,for a single ftl file.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6671) In freemarker template(FTL) Whitespace is getting parsed,i want to stop that parsing,for a single ftl file.

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960556#comment-14960556 ]

Jacques Le Roux commented on OFBIZ-6671:
----------------------------------------

Note that you might get a conflict if you keep the licence header... something like
{code}
Error rendering included template at location [component://order/webapp/ordermgr/order/viewimage.ftl]: freemarker.core.ParseException: Syntax error in template "component://order/webapp/ordermgr/order/viewimage.ftl" in line 19, column 1: Encountered "<#ftl ", but was expecting one of: <_INCLUDE> "${" "#{"
{code}

> In freemarker template(FTL)  Whitespace is getting parsed,i want to stop that  parsing,for a single ftl file.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6671
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>            Reporter: Praveen Kumar
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>
> <#ftl strip_whitespace=false> is not working in version 2.3.21 and 2.3.22 so please provide solution as soon as possible.
> Example
> SAMPLE _ PRODUCT -in database stored with space.Whereas in Free marker same data is parsing without space SAMPLE_PRODUCT.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)