xml-conduit-stylist 3.0.0.0 → 3.0.0.1
raw patch · 2 files changed
+3/−2 lines, 2 files
Files
- src/Data/HTML2CSS.hs +2/−1
- xml-conduit-stylist.cabal +1/−1
src/Data/HTML2CSS.hs view
@@ -63,7 +63,8 @@ el2styletree el = StyleTree (Left el) $ mapMaybe node2styletree $ XML.elementNodes el node2styletree (XML.NodeElement el) = Just $ el2styletree el-node2styletree (XML.NodeContent txt) = Just $ StyleTree (Right [("content", [String txt])]) []+node2styletree (XML.NodeContent txt) = Just $ StyleTree (Right [+ ("content", [String txt]), ("display", [Ident "inline"])]) [] node2styletree _ = Nothing previous' (Just ElementNode {name = "", previous = prev'}) = previous' prev'
xml-conduit-stylist.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 3.0.0.0+version: 3.0.0.1 -- A short (one-line) description of the package. synopsis: Bridge between xml-conduit/html-conduit and stylist