make puse for ibmtts disable

This commit is contained in:
chrys
2018-05-17 23:49:32 +02:00
parent ce4cec27e2
commit 9dfd45eb07
2 changed files with 6 additions and 2 deletions

View File

@@ -96,7 +96,11 @@ class outputManager():
self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR)
try:
cleanText = text.replace('\n',' , ')
if self.env['runtime']['settingsManager'].getSettingAsBool('general', 'newLinePause'):
cleanText = text.replace('\n',' , ')
else:
cleanText = text.replace('\n',' ')
cleanText = self.env['runtime']['headLineManager'].replaceHeadLines(cleanText)
cleanText = self.env['runtime']['punctuationManager'].proceedPunctuation(cleanText, ignorePunctuation)
cleanText = re.sub(' +$',' ', cleanText)