~alcinnz/haskell-stylist

3847375b647d078019a930e2ec1235fa5598f8fa — Adrian Cochrane 4 years ago ed0c2ba
Remove preceding whitespace from all CSS at-rules.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/Data/CSS/Syntax/StyleSheet.hs
M src/Data/CSS/Syntax/StyleSheet.hs => src/Data/CSS/Syntax/StyleSheet.hs +1 -1
@@ 77,7 77,7 @@ parse' stylesheet (Comma:tokens) = parse' stylesheet tokens -- TODO issue warnin
parse' stylesheet [] = stylesheet

parse' stylesheet (AtKeyword kind:tokens) = parse' stylesheet' tokens'
    where (stylesheet', tokens') = addAtRule stylesheet kind tokens
    where (stylesheet', tokens') = addAtRule stylesheet kind $ skipSpace tokens
parse' stylesheet tokens = parse' (addRules stylesheet rule) tokens'
    where (rule, tokens') = concatP (,) parseSelectors parseProperties tokens