#NEWLINE# @ library . global_function #NEWLINE# def diff_table( content_from , content_to ) : #NEWLINE# #INDENT# 'Creates an HTML diff of the passed in content_from and content_to.' #NEWLINE# html_diff = BetterHtmlDiff ( ) #NEWLINE# diff = html_diff . make_table ( content_from . splitlines ( ) , content_to . splitlines ( ) , context = True ) #NEWLINE# return jinja2 . Markup ( diff )