Member Junction
    Preparing search index...

    Renders untrusted HTML safely — keeping SVG and richer markup — for use with [innerHTML]. Sanitizes with DOMPurify (HTML + SVG profiles) and then wraps the cleaned string with bypassSecurityTrustHtml, so Angular doesn't strip the now-safe SVG/styles a second time.

    Pure pipe → Angular memoizes by input value, so it only re-sanitizes when the string actually changes (cheap under OnPush).

    <div [innerHTML]="someHtmlString | mjSafeRichHtml"></div>
    

    Implements

    • PipeTransform
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    "ɵfac": unknown
    "ɵpipe": unknown

    Methods

    • Parameters

      • value: string | null | undefined

      Returns SafeHtml