git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: ignore options in `\lstinline`.
efdc169John MacFarlane
src/Text/Pandoc/Readers/LaTeX.hs+1−1
@@ -508,7 +508,7 @@ inlineCommands = M.fromList $
508 , ("thanks", (note . mconcat) <$> (char '{' *> manyTill block (char '}')))
508 , ("thanks", (note . mconcat) <$> (char '{' *> manyTill block (char '}')))
509 , ("footnote", (note . mconcat) <$> (char '{' *> manyTill block (char '}')))
509 , ("footnote", (note . mconcat) <$> (char '{' *> manyTill block (char '}')))
510 , ("verb", doverb)
510 , ("verb", doverb)
511− , ("lstinline", doverb)
511+ , ("lstinline", skipopts *> doverb)
512 , ("Verb", doverb)
512 , ("Verb", doverb)
513 , ("texttt", (code . stringify . toList) <$> tok)
513 , ("texttt", (code . stringify . toList) <$> tok)
514 , ("url", (unescapeURL <$> braced) >>= \url ->
514 , ("url", (unescapeURL <$> braced) >>= \url ->