code: function sanitizeHtml(unsafeHtml) {
      var s = getCurrentSanitizer();
      if (s) {
          return s.sanitize(SecurityContext.HTML, unsafeHtml) || '';
      }
      if (allowSanitizationBypass(unsafeHtml, "Html" /* Html */)) {
          return unsafeHtml.toString();
      }
      return _sanitizeHtml(document, stringify$1(unsafeHtml));
  }
docs: @license
  Copyright Google Inc. All Rights Reserved.
  
  Use of this source code is governed by an MIT-style license that can be
  found in the LICENSE file at https://angular.io/license
   
  An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing
  dangerous content.
  
  This method parses the `html` and locates potentially dangerous content (such as urls and
  javascript) and removes it.
  
  It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustHtml}.
  
  @param unsafeHtml untrusted `html`, typically from the user.
  @returns `html` string which is safe to display to user, because all of the dangerous javascript
  and urls have been removed.