Permalink
Browse files

Don't be lenient on broken renderers anymore.

  • Loading branch information...
1 parent 2c0e40e commit 9fa0c3b9842830073dccc2f98e2c839ca563f871 @BalusC BalusC committed Jul 29, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/omnifaces/renderkit/Html5RenderKit.java
@@ -278,7 +278,7 @@ public void startElement(String name, UIComponent component) throws IOException
super.startElement(name, component);
if (component == null) {
- component = getCurrentComponent();
+ return; // Either the renderer is broken, or it's plain text/html.
}
if (component instanceof UIForm && "form".equals(name)) {

0 comments on commit 9fa0c3b

Please sign in to comment.