function allowSafeUrl(value, fallback) {
        // TODO: Can we do without creating a SafeUrl instance?
        var safeValue = goog.html.SafeUrl.sanitize(value).getTypedStringValue();
        if (safeValue === goog.html.SafeUrl.INNOCUOUS_STRING) {
          return fallback;
        }
        return safeValue;
      }
/**
       * Allows safe URLs through, but rejects unsafe ones.
       * @param {string} value attribute value
       * @param {*} fallback returned if value is rejected as unsafe.
       * @return {?}
       */
Allows safe URLs through, but rejects unsafe ones.
@param {string} value attribute value
@param {*} fallback returned if value is rejected as unsafe.
Allows safe URLs through but rejects unsafe ones . @param { string } value attribute value @param { * } fallback returned if value is rejected as unsafe .
function allowSafeUrl(value, fallback) {
        var safeValue = goog.html.SafeUrl.sanitize(value).getTypedStringValue();
        if (safeValue === goog.html.SafeUrl.INNOCUOUS_STRING) {
          return fallback;
        }
        return safeValue;
      }
function allowSafeUrl ( value , fallback ) { var safeValue = goog . html . SafeUrl . sanitize ( value ) . getTypedStringValue ( ) ; if ( safeValue === goog . html . SafeUrl . INNOCUOUS_STRING ) { return fallback ; } return safeValue ; }
Allows safe URLs through, but rejects unsafe ones.
Allows safe URLs through but rejects unsafe ones .
// TODO: Can we do without creating a SafeUrl instance?