From: Reinhold Kainhofer Date: Thu, 30 Aug 2007 09:16:02 +0000 (+0200) Subject: MusicXML: wrap lyrics in quotes. X-Git-Tag: release/2.11.32-1~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e49c5005eaba4eed9a1966cbfd2e6741beb34a20;p=lilypond.git MusicXML: wrap lyrics in quotes. The autput of some OMR applications contains spaces in lyrics, or a lyrics syllable starts with a comma or a peroid. Thus we need to wrap all lyrics in quotes just to be sure lilypond doesn't barf. --- diff --git a/python/musicxml.py b/python/musicxml.py index 0d4813de1d..0430661da9 100644 --- a/python/musicxml.py +++ b/python/musicxml.py @@ -336,11 +336,11 @@ class Lyric (Music_xml_node): elif text == "_" and continued: return "__" elif continued and text: - return text + " --" + return "\"" + text + "\" --" elif continued: return "--" elif text: - return text + return "\"" + text + "\"" else: return ""