Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions elements/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<groupId>org.vaadin</groupId>
<artifactId>elements</artifactId>
<packaging>jar</packaging>
<version>0.2.1-SNAPSHOT</version>
<version>0.2.3-SNAPSHOT</version>
<name>Elements Add-on</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<vaadin.version>8.0.5</vaadin.version>
<vaadin.version>8.14.1</vaadin.version>
<vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>

<!-- ZIP Manifest fields -->
Expand Down
2 changes: 1 addition & 1 deletion elements/src/main/java/org/vaadin/elements/Elements.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ private static String getElementTag(final Class<?> type,

public static TextNode createText(String text) {
return (TextNode) ElementReflectHelper
.wrap(new org.jsoup.nodes.TextNode(text, ""));
.wrap(new org.jsoup.nodes.TextNode(text));
}
}
4 changes: 2 additions & 2 deletions elements/src/main/java/org/vaadin/elements/impl/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public void wrapChildren(NodeImpl node) {

while (!queue.isEmpty()) {
Node soupChild = queue.poll();
// Only relevant for newer JSoup versions
if (soupChild.childNodeSize() > 0) {
// Only relevant for newer JSoup versions
if (soupChild.childNodeSize() > 0) {
queue.addAll(soupChild.childNodes());
}

Expand Down