def format_explanation(explanation):
 explanation = ecu(explanation)
 lines = _split_explanation(explanation)
 result = _format_lines(lines)
 return u('\n').join(result)

def format_explanation ( explanation ) : explanation = ecu ( explanation ) lines = _split_explanation ( explanation ) result = _format_lines ( lines ) return u ( '\n' ) . join ( result )
this formats an explanation normally all embedded newlines are escaped .