mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Add div around extra hidden fields in FormTag
Issue: SPR-10926
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user