Append missing closing tag