forked from openlp/openlp
This has been removed in trunk
This commit is contained in:
parent
e973a9e4e3
commit
e424c33283
@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
|
# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# OpenLP - Open Source Lyrics Projection #
|
# OpenLP - Open Source Lyrics Projection #
|
||||||
|
@ -483,21 +483,6 @@ def strip_rtf(text, default_encoding=None):
|
|||||||
elif brace == '}' and len(stack) > 0:
|
elif brace == '}' and len(stack) > 0:
|
||||||
# Pop state
|
# Pop state
|
||||||
ucskip, ignorable, font = stack.pop()
|
ucskip, ignorable, font = stack.pop()
|
||||||
# \x (not a letter)
|
|
||||||
elif char:
|
|
||||||
curskip = 0
|
|
||||||
if char == '~' and not ignorable:
|
|
||||||
out.append('\xA0')
|
|
||||||
elif char in '{}\\' and not ignorable:
|
|
||||||
out.append(char)
|
|
||||||
elif char in '\r\n' and not ignorable:
|
|
||||||
out.append(SPECIAL_CHARS['par'])
|
|
||||||
elif char == '-' and not ignorable:
|
|
||||||
out.append('\u00AD')
|
|
||||||
elif char == '_' and not ignorable:
|
|
||||||
out.append('\u2011')
|
|
||||||
elif char == '*':
|
|
||||||
ignorable = True
|
|
||||||
# \command
|
# \command
|
||||||
elif word:
|
elif word:
|
||||||
curskip = 0
|
curskip = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user