-
Notifications
You must be signed in to change notification settings - Fork 3
fig:void
Gabriel Zerbib edited this page Apr 10, 2014
·
1 revision
This attribute lets you explicitly declare that and XML empty tag must be render without a closing tag or a closing slash character.
This is useful when you need to produce the tags: <br>
, <img>
, <input>
and so on, which HTML5 expect as void.
Expression. If evaluating to true, the engine will produce a void tag, provided that it has no content. If it does, the void directive is ignored.
FigDice Template:
<br fig:void="true" />
Result
<br>