~alcinnz/haskell-stylist

8b7a9e9bb06795476cb53b008c06a80b04fda99c — Adrian Cochrane 5 years ago 5f4c8cd
Ignore invalid selectors.
2 files changed, 2 insertions(+), 1 deletions(-)

M src/Data/CSS/Syntax/StyleSheet.hs
M stylish-haskell.cabal
M src/Data/CSS/Syntax/StyleSheet.hs => src/Data/CSS/Syntax/StyleSheet.hs +1 -0
@@ 52,6 52,7 @@ parse' stylesheet tokens = parse' (addRules stylesheet rule) tokens'
--------
parseProperties (LeftCurlyBracket:tokens) = parseProperties' tokens
parseProperties (Whitespace:tokens) = parseProperties tokens
parseProperties (_:tokens) = ([], tokens)
parseProperties [] = ([], [])

parseProperties' (Whitespace:tokens) = parseProperties' tokens

M stylish-haskell.cabal => stylish-haskell.cabal +1 -1
@@ 10,7 10,7 @@ name:                stylish-haskell
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.2.0
version:             0.2.1

-- A short (one-line) description of the package.
synopsis:            Apply CSS styles to a document tree.