Bugfix on HTML validation