forked from openlp/openlp
more changes
This commit is contained in:
parent
501235a695
commit
24ec1abb56
@ -399,7 +399,7 @@ class Renderer(object):
|
||||
if line_count > 1:
|
||||
if html_text.endswith(u'<br>'):
|
||||
html_text = html_text[:len(html_text)-4]
|
||||
formatted.append(html_text)
|
||||
formatted.append(html_text + line_end)
|
||||
line = previous_line
|
||||
line_count = 1
|
||||
html_text = u''
|
||||
@ -419,7 +419,7 @@ class Renderer(object):
|
||||
if self.web_frame.contentsSize().height() > self.page_height:
|
||||
if html_text.endswith(u'<br>'):
|
||||
html_text = html_text[:len(html_text)-4]
|
||||
formatted.append(html_text)
|
||||
formatted.append(html_text + line_break)
|
||||
html_text = u''
|
||||
styled_text = u''
|
||||
html_text += word
|
||||
|
@ -799,9 +799,9 @@ class BibleMediaItem(MediaManagerItem):
|
||||
else:
|
||||
verse_text = unicode(verse)
|
||||
if self.settings.display_style == DisplayStyle.Round:
|
||||
return u'[---]{su}(%s){/su}' % verse_text
|
||||
return u'{su}(%s){/su}' % verse_text
|
||||
if self.settings.display_style == DisplayStyle.Curly:
|
||||
return u'[---]{su}{%s}{/su}' % verse_text
|
||||
return u'{su}{%s}{/su}' % verse_text
|
||||
if self.settings.display_style == DisplayStyle.Square:
|
||||
return u'[---]{su}[%s]{/su}' % verse_text
|
||||
return u'[---]{su}%s{/su}' % verse_text
|
||||
return u'{su}[%s]{/su}' % verse_text
|
||||
return u'{su}%s{/su}' % verse_text
|
||||
|
Loading…
Reference in New Issue
Block a user