Correct malformed HTML - Fixes #215