diff --git a/src/index.py b/src/index.py
index 376b64c..cf1158d 100644
--- a/src/index.py
+++ b/src/index.py
@@ -62,6 +62,8 @@ def clean(result, path):
result = result.replace('
','')
result = re.sub(r'', '', result)
result = result.replace('','')
+ result = re.sub(r'','',result)
+ result = re.sub(r'','',result)
return result
def snip_article(article, path):
@@ -69,6 +71,7 @@ def snip_article(article, path):
limit = 300
result = article[0:min(len(article),limit)]
result = result.rsplit(' ',1)[0]
+ # cut off at certain line count, too?
return result + " ... "
def sort_files(files):