Author: jacopoc
Date: Thu Sep 10 10:40:56 2009
New Revision: 813360
URL:
http://svn.apache.org/viewvc?rev=813360&view=revLog:
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/>