More replacement

main
Bob Mottram 2020-10-10 12:49:19 +01:00
parent da18789946
commit 52a66b78d6
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ def saveArrivedTime(baseDir: str, postFilename: str, arrived: str) -> None:
def removeControlCharacters(content: str) -> str:
return content.replace('&8211;', '-').replace('–', '-')
content = content.replace('&8211;', '-').replace('–', '-')
return content.replace('&8230;', '...').replace('…', '...')
def convertRSStoActivityPub(baseDir: str, httpPrefix: str,