Fix the 'HTML' method to 'html'

Jira issue: WP-811