@@ -891,7 +891,7 @@ inlineListToIdentifier' [] = ""
891891inlineListToIdentifier' (x:xs) =
892892 xAsText ++ inlineListToIdentifier' xs
893893 where xAsText = case x of
894− Str s -> filter (\c -> c == '-' || not (isPunctuation c)) $
894+ Str s -> filter (\c -> c `elem` "_-" || not (isPunctuation c)) $
895895 intercalate "-" $ words $ map toLower s
896896 Emph lst -> inlineListToIdentifier' lst
897897 Strikeout lst -> inlineListToIdentifier' lst