Thorsten Vogel opened SPR-10926 and commented
When specifying extra hidden fields in a RequestDataValueProcessor, the resulting markup is invalid according to the W3C validator. We are using XHTML 1.0 Strict.
It would be great if the FormTag.writeHiddenFields(...) method could optionally generate a container around the fields (e.g. div or a configurable container).
Resulting markup:
...
<input type="hidden" name="_token" value="xyz" />
</form>
Expected for compliancy:
...
<div>
<input type="hidden" name="_token" value="xyz" />
</div>
</form>
Affects: 3.2.4
Issue Links:
Referenced from: commits b5bd4d8