packages feed

org-mode-lucid 1.6.0 → 1.6.1

raw patch · 4 files changed

+13/−7 lines, 4 filesdep ~org-modePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: org-mode

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## Unreleased++#### Fixed++- Match the newest `org-mode`.+ ## 1.6.0 (2021-04-05)  #### Added
LICENSE view
@@ -1,4 +1,4 @@-Copyright Colin Woodbury (c) 2020+Copyright Colin Woodbury (c) 2020 - 2021  All rights reserved. 
lib/Data/Org/Lucid.hs view
@@ -120,7 +120,7 @@   | otherwise = ul_ $ traverse_ f ss   where     f :: Section -> Html ()-    f (Section ws _ od) = do+    f (Section _ _ ws _ _ _ _ _ _ od) = do       li_ $ a_ [href_ $ "#" <> tocLabel ws] $ paragraphHTML os ws       toc' os t (succ depth) od @@ -132,8 +132,9 @@   traverse_ (blockHTML os) bs   traverse_ (sectionHTML os depth) ss +-- | Section timestamps and properties are ignored. sectionHTML :: OrgStyle -> Int -> Section -> Html ()-sectionHTML os depth (Section ws _ od) = sectionStyling os depth theHead theBody+sectionHTML os depth (Section _ _ ws _ _ _ _ _ _ od) = sectionStyling os depth theHead theBody   where     theHead :: Html ()     theHead = heading [id_ $ tocLabel ws] $ paragraphHTML os ws@@ -235,6 +236,5 @@   Strike t        -> span_ [style_ "text-decoration: line-through;"] $ toHtml t   Link (URL u) mt -> a_ [href_ u] $ maybe "" toHtml mt   Image (URL u)   -> figure_ $ img_ [src_ u]-  Tags ts         -> toHtml $ ":" <> T.intercalate ":" (NEL.toList ts) <> ":"   Punct c         -> toHtml $ T.singleton c   Plain t         -> toHtml t
org-mode-lucid.cabal view
@@ -1,13 +1,13 @@ cabal-version:      2.2 name:               org-mode-lucid-version:            1.6.0+version:            1.6.1 synopsis:           Lucid integration for org-mode. description:        Lucid integration for org-mode. category:           Web homepage:           https://github.com/fosskers/org-mode author:             Colin Woodbury maintainer:         colin@fosskers.ca-copyright:          2020 Colin Woodbury+copyright:          2020 - 2021 Colin Woodbury license:            BSD-3-Clause license-file:       LICENSE build-type:         Simple@@ -28,7 +28,7 @@     , containers  >=0.6     , hashable    >=1.2  && <1.4     , lucid       ^>=2.9-    , org-mode    ^>=1.1+    , org-mode    ^>=2.0     , text  library