diff --git a/openlp/plugins/songs/lib/__init__.py b/openlp/plugins/songs/lib/__init__.py index 10cde307c..8a74691d4 100644 --- a/openlp/plugins/songs/lib/__init__.py +++ b/openlp/plugins/songs/lib/__init__.py @@ -130,7 +130,7 @@ SPECIAL_CHARS = { 'line': '\n', 'tab': '\t', 'emdash': '\u2014', - 'endash': '\u2014', + 'endash': '\u2013', 'emspace': '\u2003', 'enspace': '\u2002', 'qmspace': '\u2005', diff --git a/openlp/plugins/songs/lib/songimport.py b/openlp/plugins/songs/lib/songimport.py index d8ec79d63..5a600a245 100644 --- a/openlp/plugins/songs/lib/songimport.py +++ b/openlp/plugins/songs/lib/songimport.py @@ -44,6 +44,7 @@ from openlp.plugins.songs.lib.xml import SongXML log = logging.getLogger(__name__) + class SongImport(QtCore.QObject): """ Helper class for import a song from a third party source into OpenLP @@ -153,7 +154,7 @@ class SongImport(QtCore.QObject): text = text.replace('\u201c', '"') text = text.replace('\u201d', '"') text = text.replace('\u2026', '...') - text = text.replace('\u2014', '-') + text = text.replace('\u2013', '-') text = text.replace('\u2014', '-') # Remove surplus blank lines, spaces, trailing/leading spaces text = re.sub(r'[ \t\v]+', ' ', text)