Prevalidate for only legal css characters (loosely)