Author: lektran
Date: Mon May 28 02:17:34 2007
New Revision: 542170
URL:
http://svn.apache.org/viewvc?view=rev&rev=542170Log:
Applied fix from trunk for revision: 540456
Modified:
ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
Modified: ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java?view=diff&rev=542170&r1=542169&r2=542170==============================================================================
--- ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java (original)
+++ ofbiz/branches/release4.0/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java Mon May 28 02:17:34 2007
@@ -314,7 +314,7 @@
String value = modelFormField.getEntry(context, textareaField.getDefaultValue(context));
if (UtilValidate.isNotEmpty(value)) {
- buffer.append(value);
+ buffer.append(UtilFormatOut.encodeXmlValue(value));
}
buffer.append("</textarea>");