Author: lektran
Date: Sun Aug 30 06:34:37 2009
New Revision: 809251
URL:
http://svn.apache.org/viewvc?rev=809251&view=revLog:
Continuation of Jacopo's commit, surround everything in quotes and the space removed in r809249 will prevent Excel from handling them incorrectly
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=809251&r1=809250&r2=809251&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl Sun Aug 30 06:34:37 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}"</#if></#macro>
<#macro renderDisplayField idName description class alert inPlaceEditorId="" inPlaceEditorUrl="" inPlaceEditorParams="">
<@renderField description />,<#rt/>