def norm_html_from_html(html):
 if (not isinstance(html, unicode)):
  html = html.decode('utf-8')
 html = _markdown_email_link_re.sub(_markdown_email_link_sub, html)
 if (sys.platform == 'win32'):
  html = html.replace('\r\n', '\n')
 return html

def norm_html_from_html ( html ) : if ( not isinstance ( html , unicode ) ) : html = html . decode ( 'utf-8' ) html = _markdown_email_link_re . sub ( _markdown_email_link_sub , html ) if ( sys . platform == 'win32' ) : html = html . replace ( '\r\n' , '\n' ) return html
normalize markdownd html .