Fix #95 doctype parse errors