@@ -821,7 +821,8 @@ inlineListToMarkdown opts lst = do
821821 where go [] = return empty
822822 go (i:is) = case i of
823823 (Link _ _ _) -> case is of
824− -- If a link is followed by another link or '[' we don't shortcut
824+ -- If a link is followed by another link, or '[', '(' or ':'
825+ -- then we don't shortcut
825826 (Link _ _ _):_ -> unshortcutable
826827 Space:(Link _ _ _):_ -> unshortcutable
827828 Space:(Str('[':_)):_ -> unshortcutable
@@ -831,9 +832,17 @@ inlineListToMarkdown opts lst = do
831832 SoftBreak:(Str('[':_)):_ -> unshortcutable
832833 SoftBreak:(RawInline _ ('[':_)):_ -> unshortcutable
833834 SoftBreak:(Cite _ _):_ -> unshortcutable
835+ LineBreak:(Link _ _ _):_ -> unshortcutable
836+ LineBreak:(Str('[':_)):_ -> unshortcutable
837+ LineBreak:(RawInline _ ('[':_)):_ -> unshortcutable
838+ LineBreak:(Cite _ _):_ -> unshortcutable
834839 (Cite _ _):_ -> unshortcutable
835840 Str ('[':_):_ -> unshortcutable
841+ Str ('(':_):_ -> unshortcutable
842+ Str (':':_):_ -> unshortcutable
836843 (RawInline _ ('[':_)):_ -> unshortcutable
844+ (RawInline _ ('(':_)):_ -> unshortcutable
845+ (RawInline _ (':':_)):_ -> unshortcutable
837846 (RawInline _ (' ':'[':_)):_ -> unshortcutable
838847 _ -> shortcutable
839848 _ -> shortcutable