finished HTML parser, now supports comments, properties, and text positions