<s> from lxml import etree <EOL> from inlinestyler . converter import Conversion <EOL> def inline_css ( html_message , encoding = '<STR_LIT>' ) : <EOL> """<STR_LIT>""" <EOL> document = etree . HTML ( html_message ) <EOL> converter = Conversion ( ) <EOL> converter . perform ( document , html_message , '<STR_LIT>' , encoding = encoding ) <EOL> return converter . convertedHTML </s>
