forked from rDrama/rDrama
1
0
Fork 0

actually disable comments in css

master
Aevann 2023-02-18 22:00:39 +02:00
parent 835e1f6155
commit f1a3f365b5
1 changed files with 1 additions and 1 deletions

View File

@ -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):