Convert of the HTML parser to new input buffers Changes similar to the ones done in the XML parser for the routines which are not shared.