Bugfix: The HTML counter was not incremented