Fixed bug introduced by recent improvement to HTML validation