src/cm/utils/html.py
changeset 154 8cb89c153140
parent 0 40c8f766c9b8
child 175 4f072edc51a1
--- 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