Remove closing tag in form tag's extra hidden fields
The fields returned from a RequestDataValueProcessor are now written as hidden fields without a closing tag. Before: <input type="hidden" name="xxx" value="yyy"></input> After: <input type="hidden" name="xxx" value="yyy" /> Issue: SPR-10103
This commit is contained in:
@@ -293,7 +293,7 @@ public class FormTagTests extends AbstractHtmlElementTagTests {
|
||||
|
||||
String output = getOutput();
|
||||
|
||||
assertEquals("<input type=\"hidden\" name=\"key\" value=\"value\"></input>", getInputTag(output));
|
||||
assertEquals("<input type=\"hidden\" name=\"key\" value=\"value\" />", getInputTag(output));
|
||||
assertFormTagOpened(output);
|
||||
assertFormTagClosed(output);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user