Converts to flat html