You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2013/12/05 15:07:57 UTC
svn commit: r1548144 - in /ofbiz/branches/release13.07: ./
applications/order/webapp/ordermgr/order/orderitems.ftl
Author: jleroux
Date: Thu Dec 5 14:07:57 2013
New Revision: 1548144
URL: http://svn.apache.org/r1548144
Log:
"Applied fix from trunk for revision: 1548143 "
------------------------------------------------------------------------
r1548143 | jleroux | 2013-12-05 15:06:39 +0100 (jeu. 05 déc. 2013) | 4 lignes
A patch from Christian Carlow for "HTML embedded in entity fields is rendered as text rather than HTML elements when using FTL" https://issues.apache.org/jira/browse/OFBIZ-5376
StringUtil.wrapString is now employed as it is on the order items section of the order creation review page.
------------------------------------------------------------------------
Modified:
ofbiz/branches/release13.07/ (props changed)
ofbiz/branches/release13.07/applications/order/webapp/ordermgr/order/orderitems.ftl
Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1548143
Modified: ofbiz/branches/release13.07/applications/order/webapp/ordermgr/order/orderitems.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/order/webapp/ordermgr/order/orderitems.ftl?rev=1548144&r1=1548143&r2=1548144&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/order/webapp/ordermgr/order/orderitems.ftl (original)
+++ ofbiz/branches/release13.07/applications/order/webapp/ordermgr/order/orderitems.ftl Thu Dec 5 14:07:57 2013
@@ -413,7 +413,7 @@ under the License.
<tr<#if itemClass == "1"> class="alternate-row"</#if>>
<td align="right" colspan="2">
<span class="label">${uiLabelMap.OrderAdjustment}</span> ${adjustmentType.get("description",locale)}
- ${orderItemAdjustment.get("description",locale)?if_exists}
+ ${StringUtil.wrapString(orderItemAdjustment.get("description",locale)?if_exists)}
<#if orderItemAdjustment.comments?has_content>
(${orderItemAdjustment.comments?default("")})
</#if>