only prettify html when not in production mode