def render_body(raw_body):
 rendered = markdown.markdown(raw_body)
 rendered = _sanitize_html(rendered)
 rendered = _remove_unpaired_tags(rendered)
 return rendered

def render_body ( raw_body ) : rendered = markdown . markdown ( raw_body ) rendered = _sanitize_html ( rendered ) rendered = _remove_unpaired_tags ( rendered ) return rendered
render raw_body to html .