Add div around extra hidden fields in FormTag

Issue: SPR-10926
This commit is contained in:
Rossen Stoyanchev
2013-11-05 20:44:17 -05:00
parent e9a24da225
commit b5bd4d8a8a
2 changed files with 3 additions and 1 deletions

View File

@@ -335,7 +335,7 @@ public class FormTagTests extends AbstractHtmlElementTagTests {
String output = getOutput();
assertEquals("<input type=\"hidden\" name=\"key\" value=\"value\" />", getInputTag(output));
assertEquals("<div>\n<input type=\"hidden\" name=\"key\" value=\"value\" />\n</div>", getInputTag(output));
assertFormTagOpened(output);
assertFormTagClosed(output);
}