forked from openlp/openlp
Strip unwanted formatting characters
This commit is contained in:
parent
2e89ec1f29
commit
f15cc88eb9
@ -123,6 +123,9 @@ class SingingTheFaithImport(SongImport):
|
||||
try:
|
||||
for line in file:
|
||||
line_number += 1
|
||||
# Strip out leftover formatting (\i and \b)
|
||||
line = line.replace('\\i', '')
|
||||
line = line.replace('\\b', '')
|
||||
if hints_available and str(line_number) in self.hint_line:
|
||||
hint = self.hint_line[str(line_number)]
|
||||
# Set to false if this hint does not replace the line
|
||||
|
Loading…
Reference in New Issue
Block a user