fix a longstanding HTML issue in construct
Merge pull request #24 from jonmifsud/invalidHTMLfix

Fix a longstanding HTML issue in construct