Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default (html: string) => condense(beautify.html(html, htmlOpts), condenseOpts)
// Have to do this so that js-beautify doesn't add in pretty whitespace in the snippet,
// thereby breaking AMP validation
.replace(ampStyleBoilerplatePlaceholder, ampStyleBoilerplate);