Fix HTML end tag issue.