Self-closing tags can be generated with the TAG helper. This is useful and could be added to the book (Custom helpers, TAG; 05.markmin around line 1214), along the lines of:
To generate a self-closing tag, the tag name must end with a "/".
generates the following XML:
I made a PR to add this, thanks.
@timrichardson, can you reference the PR and can we close this one?