mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 11:16:33 +00:00
@@ -1013,7 +1013,7 @@ inlineToLaTeX (Code (_,classes,_) str) = do
|
||||
let chr = case "!\"&'()*,-./:;?@_" \\ str of
|
||||
(c:_) -> c
|
||||
[] -> '!'
|
||||
let str' = escapeStringUsing (backslashEscapes "\\{}%") str
|
||||
let str' = escapeStringUsing (backslashEscapes "\\{}%~") str
|
||||
-- we always put lstinline in a dummy 'passthrough' command
|
||||
-- (defined in the default template) so that we don't have
|
||||
-- to change the way we escape characters depending on whether
|
||||
|
||||
Reference in New Issue
Block a user