Skip to content
Snippets Groups Projects
Commit b0925ce3 authored by srosse's avatar srosse
Browse files

OO-2664: remove double escaping

parent 07a0bd6d
No related branches found
No related tags found
No related merge requests found
...@@ -220,7 +220,7 @@ public class PageMetadataEditController extends FormBasicController { ...@@ -220,7 +220,7 @@ public class PageMetadataEditController extends FormBasicController {
for (int i = 0; i < binders.size(); ++i) { for (int i = 0; i < binders.size(); ++i) {
Binder binder = binders.get(i); Binder binder = binders.get(i);
theKeys[i+1] = binder.getKey().toString(); theKeys[i+1] = binder.getKey().toString();
theValues[i+1] = StringHelper.escapeHtml(binder.getTitle()); theValues[i+1] = binder.getTitle();
} }
bindersEl.setKeysAndValues(theKeys, theValues, null); bindersEl.setKeysAndValues(theKeys, theValues, null);
...@@ -240,7 +240,7 @@ public class PageMetadataEditController extends FormBasicController { ...@@ -240,7 +240,7 @@ public class PageMetadataEditController extends FormBasicController {
} }
} else { } else {
String[] theKeys = new String[] { currentBinder.getKey().toString() }; String[] theKeys = new String[] { currentBinder.getKey().toString() };
String[] theValues = new String[] { StringHelper.escapeHtml(currentBinder.getTitle()) }; String[] theValues = new String[] { currentBinder.getTitle() };
bindersEl.setKeysAndValues(theKeys, theValues, null); bindersEl.setKeysAndValues(theKeys, theValues, null);
bindersEl.setEnabled(false); bindersEl.setEnabled(false);
bindersEl.reset(); bindersEl.reset();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment