forked from openlp/openlp
fixes bug #986699: Print Service not separating verses
This commit is contained in:
parent
d9037de8f2
commit
30e760dbe3
@ -332,7 +332,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
|
|||||||
self.update_song_usage()
|
self.update_song_usage()
|
||||||
cursor = QtGui.QTextCursor(self.document)
|
cursor = QtGui.QTextCursor(self.document)
|
||||||
cursor.select(3)
|
cursor.select(3)
|
||||||
clipboard_text = cursor.selectedText ()
|
clipboard_text = cursor.selectedText()
|
||||||
# We now have the unprocessed unicode service text in the cursor
|
# We now have the unprocessed unicode service text in the cursor
|
||||||
# So we replace u2028 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'\u2028', u'\n')
|
||||||
|
Loading…
Reference in New Issue
Block a user