Makes htmlparser handle whitespace. Refs #694.

Without the flag, htmlparser will ignore some significant whitespace in
HTML files. A more correct fix would be to not reuse the xml parser
since the rules for HTML are slightly different, but this will do for
the moment.
Merge pull request #703 from gradha/pr_fixes_htmlparser_whitespace

Makes htmlparser handle whitespace. Refs #694.