You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2009/09/10 12:40:57 UTC

svn commit: r813360 - /ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl

Author: jacopoc
Date: Thu Sep 10 10:40:56 2009
New Revision: 813360

URL: http://svn.apache.org/viewvc?rev=813360&view=rev
Log:
Fixed (hopefully, after a few attempts) issue with " character messing up csv exports.

Modified:
    ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl

Modified: ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl?rev=813360&r1=813359&r2=813360&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl Thu Sep 10 10:40:56 2009
@@ -17,7 +17,7 @@
 under the License.
 -->
 
-<#macro renderField text><#if text?exists>"${text?replace("\\\"", "\"\"")}"</#if></#macro>
+<#macro renderField text><#if text?exists>"${text?replace("\"", "\"\"")}"</#if></#macro>
 
 <#macro renderDisplayField idName description class alert inPlaceEditorId="" inPlaceEditorUrl="" inPlaceEditorParams="">
 <@renderField description />,<#rt/>