@@ -56,7 +56,7 @@ escapeText opts = T.pack . go . T.unpack
56 '@' | isEnabled Ext_citations opts ->
56 '@' | isEnabled Ext_citations opts ->
57 case cs of
57 case cs of
59− | isAlphaNum d || d == '_'
59+ | isAlphaNum d || d == '_' || d == '{'
60 -> '\\':'@':go cs
60 -> '\\':'@':go cs
61 _ -> '@':go cs
61 _ -> '@':go cs
62 _ | c `elem` ['\\','`','*','_','[',']','#'] ->
62 _ | c `elem` ['\\','`','*','_','[',']','#'] ->