Created a tv with the name "formSize", indicated the li tag in the output parameters. Inside the page template is written:
[[!getResources? &parents=`[[*id]]` &tpl=`form` &includeTVs=`1` &processTVs=`1`]] In the form chunk, there is a list of ul, inside of which is the given tv. (If tv is full, it appears inside ul and becomes the next item in the list).
But if tv is empty, it is output as an empty li:
<li></li> How can this be fixed?