summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/OptionGroup.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/OptionGroup.java')
-rw-r--r--server/src/com/vaadin/ui/OptionGroup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/OptionGroup.java b/server/src/com/vaadin/ui/OptionGroup.java
index 183fc36500..37517bd1f2 100644
--- a/server/src/com/vaadin/ui/OptionGroup.java
+++ b/server/src/com/vaadin/ui/OptionGroup.java
@@ -283,7 +283,7 @@ public class OptionGroup extends AbstractSelect implements
// like '>', '<' and '&'; in case HTML content is allowed this is
// undesirable so we need to unencode entities. Entities other than
// '<' and '>' will be taken care by Jsoup.
- elem.html(DesignFormatter.unencodeFromTextNode(elem.html()));
+ elem.html(DesignFormatter.decodeFromTextNode(elem.html()));
}
return elem;