Nicer CSS mode handling of special characters