aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-08-03 12:17:09 -0700
committerJohn MacFarlane <[email protected]>2022-08-03 12:17:09 -0700
commitc9027fb834621a110de5f1cea9bc4d32d438d1ef (patch)
treec4ea698eb8e873672994393df055ada483e54b03 /src
parent47796aa89e1ccb38d41552aa2bfa64e1d9f5f1f4 (diff)
Deprecate deLink.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Shared.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 5c179158f..35a854bf6 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -401,6 +401,7 @@ deNote :: Inline -> Inline
deNote (Note _) = Str ""
deNote x = x
+-- {- DEPRECATED deLink "deLink will be removed in a future version" -}
-- | Turns links into spans, keeping just the link text.
deLink :: Inline -> Inline
deLink (Link _ ils _) = Span nullAttr ils