Issue Bug Closed

#93587FLUID f:form.button without "content" is not rendered validly (self closing)

Christian Hackl 02/24/21, 18:46 updated 05/11/21, 16:00

Description

FLUID f:form.button without “content” is not rendered validly.

Examples:

<f:form.button type="reset" name="buttonName" value="buttonValue"></f:form.button>

is renderd like:

<button type="reset" name="buttonName" value="buttonValue" />

But html-tag button is a not self-closing tag. So it should be like (with end-tag ““):

<button type="reset" name="buttonName" value="buttonValue"></button>

Workaround:
add a “space” between <f:form> and closing .</f:form>

Reviews 2