parent
fbf7cbfdc8
commit
80467d1b18
1 changed files with 2 additions and 0 deletions
|
@ -419,6 +419,8 @@ inlineToDokuWiki opts (Link txt (src, _)) = do
|
|||
label <- inlineListToDokuWiki opts txt
|
||||
case txt of
|
||||
[Str s] | escapeURI s == src -> return src
|
||||
| "mailto:" ++ escapeURI s == src -> return $
|
||||
"<" ++ s ++ ">"
|
||||
_ -> if isURI src
|
||||
then return $ "[[" ++ src ++ "|" ++ label ++ "]]"
|
||||
else return $ "[[" ++ src' ++ "|" ++ label ++ "]]"
|
||||
|
|
Loading…
Add table
Reference in a new issue