Fixes #248. Rearranged XHTML 1.1 DTD in order to correctly register th:block