Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

How to deal with potentially unsafe HTML inside OperatorDocs? #151

@nicolaisueper

Description

@nicolaisueper

Hey there,

while working on #149, I was requested to put a link to another operator inside the OperatorDoc for combineLatest. My href attribute got sanitized and it resulted in <a>.startWith</a>.

I temporarily created a SafeHtmlPipe (analogous to the SafeUrlPipe), which bypasses the sanitizing.

I wanted to know if you all agree with my solution or maybe anyone else has an idea how to deal with issues like this.

Greets
Nico

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions