[html-formfu] FormFu produces invalid tags of "empty HTML elements"?
Jens Schwarz
blacky6767 at gmx.de
Tue Mar 24 13:09:52 GMT 2009
Hi there,
I want to add an "empty HTML element" to my FormFu form (here <img>) and therefor added something like ...
- type: Block
tag: img
id: my_image
attributes:
alt: foo bar
src: path/to/my/image.png
... to my yml.
In the (X)HTML source this results to ...
<img alt="foo bar" id="my_image" src="path/to/my/image.png"></img>
... which seems invalid (X)HTML to me (note the trailing "</img>"). How can I make FormFu produce valid ...
<img alt="foo bar" id="my_image" src="path/to/my/image.png"/>
?
Thanks
Jens
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
More information about the HTML-FormFu
mailing list