From 90197046b33fdd404c5a86a6bab3e6a066d36d36 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 4 Nov 2019 20:57:41 +0000 Subject: [PATCH] Fixed separator --- content.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content.py b/content.py index 7dc8d308e..7920fb813 100644 --- a/content.py +++ b/content.py @@ -240,10 +240,8 @@ def removeLongWords(content: str,maxWordLength: int,longWordsList: []) -> str: """Breaks up long words so that on mobile screens this doesn't disrupt the layout """ words=content.split(' ') - separator='\n' if not longWordsList: longWordsList=[] - separator='
' for wordStr in words: if len(wordStr)>maxWordLength: if wordStr not in longWordsList: @@ -266,7 +264,7 @@ def removeLongWords(content: str,maxWordLength: int,longWordsList: []) -> str: if len(wordStr[maxWordLength:])