From da4989e8f624247cb3618c1244d7c19055672a6c Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Wed, 25 Oct 2017 17:36:54 +1300 Subject: [PATCH] FIX Do not escape the readonly values since they get escaped when rendered --- src/Forms/LookupField.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Forms/LookupField.php b/src/Forms/LookupField.php index ae444a85b..df0d08291 100644 --- a/src/Forms/LookupField.php +++ b/src/Forms/LookupField.php @@ -53,7 +53,6 @@ class LookupField extends MultiSelectField if ($mapped) { $attrValue = implode(', ', array_values($mapped)); - $attrValue = Convert::raw2xml($attrValue); $inputValue = implode(', ', array_values($values)); } else { $attrValue = '('._t('SilverStripe\\Forms\\FormField.NONE', 'none').')';