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