summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/CustomLayoutDemo.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/CustomLayoutDemo.java')
-rw-r--r--uitest/src/com/vaadin/tests/CustomLayoutDemo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/CustomLayoutDemo.java b/uitest/src/com/vaadin/tests/CustomLayoutDemo.java
index a0fcaf8236..8b44007949 100644
--- a/uitest/src/com/vaadin/tests/CustomLayoutDemo.java
+++ b/uitest/src/com/vaadin/tests/CustomLayoutDemo.java
@@ -110,7 +110,7 @@ public class CustomLayoutDemo extends com.vaadin.Application implements
// Add heading label and custom layout panel to main window
mainWindow.addComponent(new Label("<h3>Custom layout demo</h3>",
- ContentMode.XHTML));
+ ContentMode.HTML));
mainWindow.addComponent(customLayoutPanel);
}
@@ -126,7 +126,7 @@ public class CustomLayoutDemo extends com.vaadin.Application implements
username.setValue("Anonymous");
}
mainLayout.replaceComponent(loginButton, new Label("Welcome user <em>"
- + username.getValue() + "</em>", ContentMode.XHTML));
+ + username.getValue() + "</em>", ContentMode.HTML));
}
/**