LaTeX reader: ignore options in \lstinline
.
Rather than raising a parse error. Closes #1997.
This commit is contained in:
parent
0b42eb5f58
commit
efdc1691fa
1 changed files with 1 additions and 1 deletions
|
@ -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 ->
|
||||
|
|
Loading…
Add table
Reference in a new issue