head-matter makes tags self-closing that shouldn't be
I tried to add a
<script> tag in
wt_config.xml, but the XML parser turns a
<script> tag with an empty body into a self-closing tag, which is not allowed by HTML.
We should make sure only tags that are allowed to be self-closing are self-closed. We already have a mechanism like this for our message resource bundles, so that can be reused.
<script> tag so it's non-empty.