keycloakify
Version:
Framework to create custom Keycloak UIs
13 lines (12 loc) • 456 B
TypeScript
/// <reference types="dompurify" />
import type { DOMPurify as ofTypeDomPurify } from "../../tools/vendor/dompurify";
export declare class KcSanitizer {
private static HREF_PATTERN;
private static textarea;
static sanitize(html: string, dependencyInjections: Partial<{
DOMPurify: typeof ofTypeDomPurify;
htmlEntitiesDecode: (html: string) => string;
}>): string;
private static decodeHtml;
private static fixURLs;
}