diff options
author | Urs Liska <git@ursliska.de> | 2019-08-05 19:35:17 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-08-05 10:35:17 -0700 |
commit | b3ead7cdccef70c78a1e9a9edd5ec9c737550167 (patch) | |
tree | f5367d57ca8f51b9fa3378d4e44e190a79afcd9a /src/Text/Pandoc | |
parent | c452744520d32c7550a0341f4b3e18ec5301808a (diff) | |
download | pandoc-b3ead7cdccef70c78a1e9a9edd5ec9c737550167.tar.gz |
Treat `ly` as verbatim too (#5671)
According to https://github.com/jgm/pandoc/issues/4725#issuecomment-399772217 not only the `lilypond` environment but also `ly` should be included in the verbatim list.
@jperon
https://github.com/jperon/lyluatex/issues/203
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 009ab336c..25fd1198f 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -1875,6 +1875,7 @@ environments = M.fromList , ("obeylines", obeylines) , ("tikzpicture", rawVerbEnv "tikzpicture") , ("lilypond", rawVerbEnv "lilypond") + , ("ly", rawVerbEnv "ly") -- etoolbox , ("ifstrequal", ifstrequal) , ("newtoggle", braced >>= newToggle) |