diff --git a/ietf/tests.py b/ietf/tests.py index fd0158753..3b5ad9cbe 100644 --- a/ietf/tests.py +++ b/ietf/tests.py @@ -26,7 +26,8 @@ def reduce(html): if html.count("
  • ") > 5*html.count("
  • "): html = html.replace("
  • ", "
  • ") text = html2text(html) - text = re.sub('\."', '".', text) + text = text.replace('."', '".') + text = text.replace(',"', '",') text = [ line.strip() for line in text.split("\n") ] return text