When including LilyPond files that contain percent characters (i.e.
any comments) they cause the flatten_content() function to fail
because single percent chars are uncorrectly interpreted as
escape characters.
This commit replaces percents with hash characters - which doesn't
do any harm as this flattened LilyPond code will never be used by
LilyPond, only to generate a hash filename. (OTOH simply removing
them might have unwanted side effects).
Closes #197
When including LilyPond files that contain percent characters (i.e. any comments) they cause the flatten_content() function to fail because single percent chars are uncorrectly interpreted as escape characters.
This commit replaces percents with hash characters - which doesn't do any harm as this flattened LilyPond code will never be used by LilyPond, only to generate a hash filename. (OTOH simply removing them might have unwanted side effects).