~alcinnz/haskell-stylist

5fa9521a1116cc849612d27b696698b4b7410d90 — Adrian Cochrane 4 years ago 7ff2b69
Release XML Conduit Stylist 2.0.0.0!
M xml-conduit-stylist/src/Data/HTML2CSS.hs => xml-conduit-stylist/src/Data/HTML2CSS.hs +2 -1
@@ 2,7 2,7 @@
-- | Bindings from `xml-conduit` to `haskell-stylist`.
module Data.HTML2CSS(
        html2css, cssPriorityAgent, cssPriorityUser, cssPriorityAuthor, -- parsing
        preorder, el2styletree, els2stylist, el2stylist, stylize, stylize' -- application
        preorder, el2styletree, els2stylist, el2stylist, stylize, stylize', stylizeEl -- application
    ) where

import qualified Data.List as L


@@ 110,3 110,4 @@ stylize' stylesheet parent _ el = [
        base = cascade stylesheet el overrides $ fromMaybe temp $ lookup "" =<< parent
        overrides = concat [fst $ parseProperties' $ tokenize $ Txt.pack val
            | Attribute "style" _ val <- attributes el]
stylizeEl stylesheet = stylize stylesheet . el2stylist

M xml-conduit-stylist/xml-conduit-stylist.cabal => xml-conduit-stylist/xml-conduit-stylist.cabal +1 -1
@@ 10,7 10,7 @@ name:                xml-conduit-stylist
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             1.2.0.0
version:             2.0.0.0

-- A short (one-line) description of the package.
synopsis:            Bridge between xml-conduit/html-conduit and stylist