[ticket/13242] Fix HTML validity

PHPBB3-13242
Merge pull request #3110 from Elsensee/ticket/13242

[ticket/13242] Fix HTML validity