etc_query question: How can I avoid having my self-closing XHML-tags transformed into unclosed tags?

https://forum.textpattern.io/viewtopic.php?pid=305968#p305968
Shared publicly