aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-01-02 15:52:33 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-01-02 15:52:33 -0800
commitb5d97986185878a2ecd160fb9fe4089df1dbfb1c (patch)
treee000c9490a57b89ed096fca3cea506a227e99dae
parent4edd1a78732abe64c7b1eab85f792ec0f4777ca7 (diff)
downloadpandoc-b5d97986185878a2ecd160fb9fe4089df1dbfb1c.tar.gz
Updated filter for man pages.
-rw-r--r--man/removeLinks.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/removeLinks.hs b/man/removeLinks.hs
index d4508e7a3..52414ebd0 100644
--- a/man/removeLinks.hs
+++ b/man/removeLinks.hs
@@ -4,6 +4,6 @@ main :: IO ()
main = toJSONFilter removeLinks
removeLinks :: Inline -> [Inline]
-removeLinks (Link l _) = l
+removeLinks (Link _ l _) = l
removeLinks x = [x]