code: public static void innerHtml(HTMLElement element, SafeHtml html) {
          if (element != null) {
              element.innerHTML = html.asString();
          }
      }
docs: Convenience method to set the inner HTML of the given element.