summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/ICML.hs
diff options
context:
space:
mode:
authormb21 <mb21@users.noreply.github.com>2015-07-26 18:30:47 +0200
committermb21 <mb21@users.noreply.github.com>2015-08-07 12:38:37 +0200
commita010b83a7542d1324bde3d248c24faae9e681dbd (patch)
treeed0727d31576f5d07e5e31d6611e124b54c0b823 /src/Text/Pandoc/Writers/ICML.hs
parente44fc547a5d0ef67c68011c23563fd82320bc2aa (diff)
Updated readers, writers and README for link attribute
Diffstat (limited to 'src/Text/Pandoc/Writers/ICML.hs')
-rw-r--r--src/Text/Pandoc/Writers/ICML.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/ICML.hs b/src/Text/Pandoc/Writers/ICML.hs
index 71e541b6f..2bbd3b44f 100644
--- a/src/Text/Pandoc/Writers/ICML.hs
+++ b/src/Text/Pandoc/Writers/ICML.hs
@@ -419,7 +419,7 @@ inlineToICML _ style (Math _ str) = charStyle style $ text $ escapeStringForXML
inlineToICML _ _ (RawInline f str)
| f == Format "icml" = return $ text str
| otherwise = return empty
-inlineToICML opts style (Link lst (url, title)) = do
+inlineToICML opts style (Link _ lst (url, title)) = do
content <- inlinesToICML opts (linkName:style) lst
state $ \st ->
let ident = if null $ links st