@@ -1013,7 +1013,7 @@ inlineToLaTeX (Code (_,classes,_) str) = do
1013 let chr = case "!\"&'()*,-./:;?@_" \\ str of
1013 let chr = case "!\"&'()*,-./:;?@_" \\ str of
1014 (c:_) -> c
1014 (c:_) -> c
1015 [] -> '!'
1015 [] -> '!'
1016− let str' = escapeStringUsing (backslashEscapes "\\{}%~") str
1016+ let str' = escapeStringUsing (backslashEscapes "\\{}%~_") str
1017 -- we always put lstinline in a dummy 'passthrough' command
1017 -- we always put lstinline in a dummy 'passthrough' command
1018 -- (defined in the default template) so that we don't have
1018 -- (defined in the default template) so that we don't have
1019 -- to change the way we escape characters depending on whether
1019 -- to change the way we escape characters depending on whether