Update orderItem customdetails to return a HTMLText object rather than rely on casting