Trim leading/trailing whitespace from interpolated attributes