You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2014/02/21 08:37:53 UTC

[28/31] git commit: Fix org.apache.wicket.markup.html.tags.InputTagNotClosedTest

Fix org.apache.wicket.markup.html.tags.InputTagNotClosedTest


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/456e74f9
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/456e74f9
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/456e74f9

Branch: refs/heads/master
Commit: 456e74f9c253a55a49cc9f16f1edfbb9d1ed6ee2
Parents: 28a1637
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Tue Feb 18 14:48:49 2014 +0200
Committer: Igor Vaynberg <ig...@gmail.com>
Committed: Thu Feb 20 23:37:16 2014 -0800

----------------------------------------------------------------------
 wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/456e74f9/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java b/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
index c5d6add..7c69ae1 100644
--- a/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
+++ b/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
@@ -2115,7 +2115,7 @@ public abstract class MarkupContainer extends Component implements Iterable<Comp
 				dequeue.popContainer();
 			}
 
-			if (tag.isOpen())
+			if (tag.isOpen() && tag.hasNoCloseTag() == false)
 			{
 				// pull the close tag off
 				ComponentTag close = dequeue.popTag();