def _latexFromHtml(col, latex):
 latex = re.sub('<br( /)?>|<div>', '\n', latex)
 latex = stripHTML(latex)
 return latex

def _latexFromHtml ( col , latex ) : latex = re . sub ( '<br( /)?>|<div>' , '\n' , latex ) latex = stripHTML ( latex ) return latex
convert entities and fix newlines .