diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-09-27 21:07:26 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-09-27 21:08:10 -0700 |
| commit | 26f733f4248accaeaac0a9c13ca37e7b2c4cef1a (patch) | |
| tree | a36a5c604e6cbb3930c5c537ed68d26e9788826e | |
| parent | eb371b05551edfc47bae3520b6e5e24db39caf7e (diff) | |
T.P.Shared: removed deprecated `deLink`.
[API change]
| -rw-r--r-- | src/Text/Pandoc/Shared.hs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs index 1026aecc7..4a03bae43 100644 --- a/src/Text/Pandoc/Shared.hs +++ b/src/Text/Pandoc/Shared.hs @@ -47,7 +47,6 @@ module Text.Pandoc.Shared ( extractSpaces, removeFormatting, deNote, - deLink, stringify, capitalize, compactify, @@ -396,12 +395,6 @@ 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 -deLink x = x - -- | Convert pandoc structure to a string with formatting removed. -- Footnotes are skipped (since we don't want their contents in link -- labels). |
