We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a9fa6f commit 76378adCopy full SHA for 76378ad
1 file changed
ietf/tests.py
@@ -26,7 +26,8 @@ def reduce(html):
26
if html.count("<li>") > 5*html.count("</li>"):
27
html = html.replace("<li>", "</li><li>")
28
text = html2text(html)
29
- text = re.sub('\."', '".', text)
+ text = text.replace('."', '".')
30
+ text = text.replace(',"', '",')
31
text = [ line.strip() for line in text.split("\n") ]
32
return text
33
0 commit comments