]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/musicexp.py
Convert miscellaneous description elements to texidoc items.
[lilypond.git] / python / musicexp.py
index 8997b1674ccae7c14f7d4989f7469d2c354e286a..0efd7c54b4b641b20de919a2f747d64225161017 100644 (file)
@@ -826,8 +826,9 @@ class Header:
 
         # If a header item contains a line break, it is segmented. The
         # substrings are formatted with the help of \markup, using
-        # \column and \line.
-        if '\n' in value:
+        # \column and \line. An exception, however, are texidoc items,
+        # which should not contain LilyPond formatting commands.
+        if (key != 'texidoc') and ('\n' in value):
             value = value.replace('"', '')
             printer.dump(r'\markup \column {')
             substrings = value.split('\n')