diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-10-19 12:47:13 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-10-19 12:47:13 -0700 |
| commit | 716f5a03879b091c1111454f00372e82eb4e917e (patch) | |
| tree | fe4bddc73733b247bf70fa2368047353f61e8149 /src | |
| parent | ec278d2b60e329040c712b51c32fddbcd180191b (diff) | |
Text.Pandoc.Shared: remove deprecated `makeMeta` [API change].
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Shared.hs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs index bab14d25c..f60d2708f 100644 --- a/src/Text/Pandoc/Shared.hs +++ b/src/Text/Pandoc/Shared.hs @@ -61,7 +61,6 @@ module Text.Pandoc.Shared ( taskListItemToAscii, handleTaskListItem, addMetaField, - makeMeta, eastAsianLineBreakFilter, htmlSpanLikeElements, filterIpynbOutput, @@ -667,15 +666,6 @@ addMetaField key val (Meta meta) = tolist (MetaList ys) = ys tolist y = [y] -{-# DEPRECATED makeMeta "Use addMetaField directly" #-} --- | Create 'Meta' from old-style title, authors, date. This is --- provided to ease the transition from the old API. -makeMeta :: [Inline] -> [[Inline]] -> [Inline] -> Meta -makeMeta title authors date = - addMetaField "title" (B.fromList title) - $ addMetaField "author" (map B.fromList authors) - $ addMetaField "date" (B.fromList date) nullMeta - -- | Remove soft breaks between East Asian characters. eastAsianLineBreakFilter :: Pandoc -> Pandoc eastAsianLineBreakFilter = bottomUp go |
