th:replace instead of th:substituteby (deprecated)
Removed redundant XHTML attributes from <html> tag in views.