only prettify html when not in production mode
Merge pull request #674 from leider/master

only prettify html when not in production mode