forked from openlp/openlp
Implemented gushies changes
This commit is contained in:
parent
1d4e5c9430
commit
c6d85d3ab8
@ -450,7 +450,7 @@ class Renderer(object):
|
||||
previous_html, previous_raw, html_lines, lines, separator, u'')
|
||||
else:
|
||||
previous_raw = separator.join(lines)
|
||||
if previous_raw or previous_raw == u'':
|
||||
if previous_raw is not None:
|
||||
formatted.append(previous_raw)
|
||||
log.debug(u'_paginate_slide - End')
|
||||
return formatted
|
||||
|
@ -528,9 +528,9 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
||||
for row in self.findVerseSplit.split(verse_list):
|
||||
for match in row.split(u'---['):
|
||||
for count, parts in enumerate(match.split(u']---\n')):
|
||||
if count == 0 and len(parts) <= 0:
|
||||
continue
|
||||
if count == 0:
|
||||
if len(parts) == 0:
|
||||
continue
|
||||
# handling carefully user inputted versetags
|
||||
separator = parts.find(u':')
|
||||
if separator >= 0:
|
||||
|
Loading…
Reference in New Issue
Block a user