diff options
Diffstat (limited to 'compatibility-server')
-rw-r--r-- | compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java index 20f7acb074..f67bbb4c3e 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java @@ -38,6 +38,7 @@ import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; +import org.jsoup.Jsoup; import org.jsoup.nodes.Attributes; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; @@ -3473,6 +3474,7 @@ public class Grid extends AbstractComponent if (caption == null) { caption = ""; // Render null as empty } + caption = Jsoup.parse(caption).text(); state.headerCaption = caption; HeaderRow row = grid.getHeader().getDefaultRow(); |