(css)
return re.sub(r";+\}", "}", css)
Remove unnecessary semicolons.
Remove unnecessary semicolons.
Remove unnecessary semicolons .
def remove_unnecessary_semicolons(css):
    """Remove unnecessary semicolons."""
    
    return re.sub(r";+\}", "}", css)
def remove_unnecessary_semicolons ( css ) : return re . sub ( r";+\}" , "}" , css )