Fix unclosed span tag