diff --git a/Dixi/Pandoc/Wikilinks.hs b/Dixi/Pandoc/Wikilinks.hs
--- a/Dixi/Pandoc/Wikilinks.hs
+++ b/Dixi/Pandoc/Wikilinks.hs
@@ -11,9 +11,9 @@
 wikilinks' s = walk (wikify s)
 
 wikify :: String -> Inline -> Inline
-wikify base (Link s ("",t)) = Link s (url, t)
+wikify base (Link a s ("",t)) = Link a s (url, t)
   where url = base ++ "/" ++ inlinesToURL s
-wikify base (Link s (l,"wikilink")) = Link s (base ++ "/" ++ l, "wikilink")
+wikify base (Link a s (l,"wikilink")) = Link a s (base ++ "/" ++ l, "wikilink")
 wikify _ x = x
 
 -- | Derives a URL from a list of Pandoc Inline elements.
@@ -41,7 +41,8 @@
                Math InlineMath s       -> "$" ++ s ++ "$"
                RawInline (Format "tex") s -> s
                RawInline _ _           -> ""
-               Link xs _               -> concatMap go xs
-               Image xs _              -> concatMap go xs
+               Link _ xs _             -> concatMap go xs
+               Image _ xs _            -> concatMap go xs
                Note _                  -> ""
                Span _ xs               -> concatMap go xs
+               SoftBreak {}            -> ""
diff --git a/dixi.cabal b/dixi.cabal
--- a/dixi.cabal
+++ b/dixi.cabal
@@ -2,7 +2,7 @@
 -- see http://haskell.org/cabal/users-guide/
 
 name:                dixi
-version:             0.6.0.4
+version:             0.6.0.5
 synopsis:            A wiki implemented with a firm theoretical foundation.
 description:         This project is a simple wiki developed based on a
                      firm theoretical foundation.
@@ -59,7 +59,7 @@
   else
      build-depends: base >= 4.8 && < 4.10
   build-depends:       composition-tree >= 0.2.0.1 && < 0.3, patches-vector >= 0.1.2 && < 0.2
-                     , pandoc >= 1.15 &&  < 1.17 , pandoc-types >= 1.12 && < 1.17
+                     , pandoc >= 1.16 &&  < 1.17 , pandoc-types >= 1.16 && < 1.17
                      , base-orphans >= 0.5.0 && < 0.6
                      , servant >= 0.4 && < 0.5
                      , servant-server >= 0.4 && < 0.5
