Add trim to slugSafeString