Safe Pipe
Angular pipe to enable safe urls to be used directly on tags.
Usage
``
<iframe [src]="youtubeEmbedUrl | safe"></iframe> ``Based on https://github.com/angular/angular/issues/11518#issuecomment-246201907
Angular pipe to enable safe urls to be used directly on tags.
``
<iframe [src]="youtubeEmbedUrl | safe"></iframe> ``Based on https://github.com/angular/angular/issues/11518#issuecomment-246201907
npm i @thiagoprz/safe-pipe
0
0.0.2
MIT
15.3 kB
17