forked from rDrama/rDrama
actually disable comments in css
parent
835e1f6155
commit
f1a3f365b5
|
@ -621,7 +621,7 @@ def validate_css(css):
|
|||
if '@import' in css:
|
||||
return False, "@import statements are not allowed!"
|
||||
|
||||
if '/**/' in css:
|
||||
if '/*' in css:
|
||||
return False, "Comments are not allowed!"
|
||||
|
||||
for i in css_url_regex.finditer(css):
|
||||
|
|
Loading…
Reference in New Issue