Allow double quote in title. This is possible because, at least OOTB, all title should be localized. Hence from a label in an XML file, and nothing prevent to use double quotes there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921773 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1162,7 +1162,7 @@ public class MacroFormRenderer implements FormStringRenderer {
|
||||
sr.append(" name=\"");
|
||||
sr.append(modelFormField.getModelForm().getName());
|
||||
sr.append("\" title=\"");
|
||||
sr.append(title);
|
||||
sr.append(FreeMarkerWorker.encodeDoubleQuotes(title));
|
||||
sr.append("\" />");
|
||||
executeMacro(sr.toString());
|
||||
} else if (modelFormField.isSortField()) {
|
||||
@@ -2421,7 +2421,6 @@ public class MacroFormRenderer implements FormStringRenderer {
|
||||
public void renderImageField(Appendable writer, Map<String, Object> context, ImageField imageField) throws IOException {
|
||||
ModelFormField modelFormField = imageField.getModelFormField();
|
||||
|
||||
String border = Integer.toString(imageField.getBorder());
|
||||
String value = modelFormField.getEntry(context, imageField.getValue(context));
|
||||
String width = "";
|
||||
String height = "";
|
||||
|
||||
Reference in New Issue
Block a user