LaTeX reader: ignore options in \lstinline.

Rather than raising a parse error.  Closes #1997.
This commit is contained in:
John MacFarlane 2015-03-07 19:58:49 -08:00
parent 0b42eb5f58
commit efdc1691fa

View file

@ -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 ->