Custom CSS escaping characters bug fix