Skip to content

Commit

Permalink
Don't be lenient on broken renderers anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bauke Scholtz committed Jul 29, 2014
1 parent 2c0e40e commit 9fa0c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/omnifaces/renderkit/Html5RenderKit.java
Expand Up @@ -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)) {
Expand Down

0 comments on commit 9fa0c3b

Please sign in to comment.