Commit abc0a03c authored by Cédric Bellegarde's avatar Cédric Bellegarde

Merge branch 'master' into next

parents 49317436 43cce9d5
Pipeline #162915 failed with stage
in 32 seconds
......@@ -35,7 +35,7 @@ class CSSRuleList:
for child in self.__get_children(css):
child = child.strip()
# Remove any comment
child = re.sub(".*\*\/", "", child)
child = re.sub("\/\*[^*]*[^/]*\*\/", "", child)
if child.startswith("@media"):
rule = CSSMediaRule(child, uri, cancellable)
elif child.startswith("@supports"):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment