From 6df3f8c43547e6fbcee255748558e17f5a525afd Mon Sep 17 00:00:00 2001 From: mash Date: Fri, 17 Mar 2017 15:19:05 +0000 Subject: [PATCH] Allow dashes in class names and ids Invalid class names and ids may be matched with this regular expression. Therefore it's assumed that only valid css will be provided. --- muncher/muncher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muncher/muncher.py b/muncher/muncher.py index be58298..00fc1b3 100644 --- a/muncher/muncher.py +++ b/muncher/muncher.py @@ -269,8 +269,8 @@ def processCssFile(self, path, inline = False): for block in blocks: contents = contents + block - ids_found = re.findall(r'((?