From d88e4090a14ef3670232ad1b4a83c7260db36f9c Mon Sep 17 00:00:00 2001 From: Juho Nurminen Date: Mon, 3 Feb 2014 16:56:31 +0200 Subject: [PATCH] Added proper escaping to OptionGroup item icon URLs (#13310) Change-Id: Id0dea437e04e829567b31df3e9c496cd5adc09b8 --- client/src/com/vaadin/client/ui/VOptionGroup.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/com/vaadin/client/ui/VOptionGroup.java b/client/src/com/vaadin/client/ui/VOptionGroup.java index fee1c313f5..fe4ef214cb 100644 --- a/client/src/com/vaadin/client/ui/VOptionGroup.java +++ b/client/src/com/vaadin/client/ui/VOptionGroup.java @@ -142,8 +142,9 @@ public class VOptionGroup extends VOptionGroupBase implements FocusHandler, String icon = opUidl.getStringAttribute("icon"); if (icon != null && icon.length() != 0) { String iconUrl = client.translateVaadinUri(icon); - itemHtml = "\"\"" + itemHtml; + itemHtml = "\"\"" + + itemHtml; } String key = opUidl.getStringAttribute("key"); -- 2.39.5