#144 Fix, was creating an empty html doc with <html> tags