Fix unclosed HTML element