pushed the constructor down to BasicParser
common subclass for parsing the body content
a basic html5 parser