diff -r e7e1bc64f613 -r 8cb89c153140 src/cm/utils/html.py --- a/src/cm/utils/html.py Wed Feb 03 21:49:04 2010 +0100 +++ b/src/cm/utils/html.py Fri Feb 05 18:43:58 2010 +0100 @@ -19,12 +19,3 @@ # utilities def get_text_nodes(soup): return soup(text=lambda text:not isinstance(text, Comment)) - - -import re - -def cleanup_textarea(input): - """ - Cleanup \r\n to standard \n - """ - return re.sub('(\r\n)|(\n)|(\r)','\n',input) \ No newline at end of file