fix another edge case where duplicate white space was added of user types opening quotes and already has a semicolon at the end