Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def transform(html, pretty_print=False, **kwargs):
return Premailer(**kwargs).transform(html, pretty_print=pretty_print)
def transform(html, base_url=None):
return Premailer(html, base_url=base_url).transform()