Fix invalid XHTML to allow i18n machinery to work

Fix a few invalid XHTML tags to prevent errors when running `make translations`