diff --git a/ietf/tests.py b/ietf/tests.py index 48f442a72..fd0158753 100644 --- a/ietf/tests.py +++ b/ietf/tests.py @@ -22,12 +22,11 @@ def run_tests(module_list, verbosity=1, extra_tests=[]): return django.test.simple.run_tests(module_list, verbosity, extra_tests) def reduce(html): - html = re.sub(" :", ": ", html) + html = re.sub(" :", ":", html) if html.count("
  • ") > 5*html.count("
  • "): html = html.replace("
  • ", "
  • ") text = html2text(html) text = re.sub('\."', '".', text) - text = re.sub(',"', '",', text) text = [ line.strip() for line in text.split("\n") ] return text