fixes bug #986699: Print Service not separating verses

This commit is contained in:
Martin Barrett 2012-06-30 17:15:42 +01:00
parent d86a94b3c0
commit ac769b96f9

View File

@ -334,7 +334,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
cursor.select(3)
clipboard_text = cursor.selectedText ()
# We now have the unprocessed unicode service text in the cursor
# So we replace u2029 with \n and u2029 with \n\n and a few others
# So we replace u2028 with \n and u2029 with \n\n and a few others
clipboard_text = clipboard_text.replace(u'\u2028', u'\n')
clipboard_text = clipboard_text.replace(u'\u2029', u'\n\n')
clipboard_text = clipboard_text.replace(u'\u2018', u'\'')