mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-20 14:35:44 +00:00
LaTeX reader: ignore options in \lstinline.
Rather than raising a parse error. Closes #1997.
This commit is contained in:
@@ -508,7 +508,7 @@ inlineCommands = M.fromList $
|
||||
, ("thanks", (note . mconcat) <$> (char '{' *> manyTill block (char '}')))
|
||||
, ("footnote", (note . mconcat) <$> (char '{' *> manyTill block (char '}')))
|
||||
, ("verb", doverb)
|
||||
, ("lstinline", doverb)
|
||||
, ("lstinline", skipopts *> doverb)
|
||||
, ("Verb", doverb)
|
||||
, ("texttt", (code . stringify . toList) <$> tok)
|
||||
, ("url", (unescapeURL <$> braced) >>= \url ->
|
||||
|
||||
Reference in New Issue
Block a user