org-mode-lucid 1.6.4 → 1.7.0
raw patch · 3 files changed
+14/−3 lines, 3 filesdep ~org-modePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: org-mode
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- lib/Data/Org/Lucid.hs +6/−1
- org-mode-lucid.cabal +2/−2
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## 1.7.0 (2023-04-19)++#### Changed++- Match `org-mode-2.1`.+ ## 1.6.4 (2022-07-31) #### Changed
lib/Data/Org/Lucid.hs view
@@ -184,10 +184,15 @@ _ -> sep <> wordsHTML w <> para w ws listItemsHTML :: OrgStyle -> ListItems -> Html ()-listItemsHTML os (ListItems is) = ul_ [class_ "org-ul"] $ traverse_ f is+listItemsHTML os (ListItems t is) = orderedOrNot [class_ "org-ul"] $ traverse_ f is where f :: Item -> Html () f (Item ws next) = li_ $ paragraphHTML os ws >> traverse_ (listItemsHTML os) next++ orderedOrNot = case t of+ Numbered -> ol_+ Bulleted -> ul_+ Plussed -> ul_ tableHTML :: OrgStyle -> NonEmpty Row -> Html () tableHTML os rs = table_ tblClasses $ do
org-mode-lucid.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: org-mode-lucid-version: 1.6.4+version: 1.7.0 synopsis: Lucid integration for org-mode. description: Lucid integration for org-mode. category: Web@@ -28,7 +28,7 @@ , containers >=0.6 , hashable >=1.2 && <1.5 , lucid >=2.9 && < 2.12- , org-mode ^>=2.0+ , org-mode ^>=2.1 , text library