minifying html parsed from markdown (only in production)