pandoc / lua-filters

A collection of lua filters for pandoc
MIT License
611 stars 166 forks source link

lilypond: fix handling of non-LilyPond code elements #80

Closed cole-miller closed 4 years ago

cole-miller commented 4 years ago

The lilypond filter previously handled non-LilyPond code blocks erroneously, causing them to be omitted from the output under some circumstances. This PR fixes this issue and adds a corresponding regression test (see code.md). Sorry for the silly mistake!

(Incidentally, the bare comparison PANDOC_VERSION == "2.7.3" continues not to work with my installation of pandoc v2.7.3, for unknown reasons, so I've reverted to the tostring version.)