ohayolibs
Version:
Ohayo is a set of essential modules for ohayojp.
23 lines (16 loc) • 281 B
Markdown
order: 1
title: safe
subtitle: XSS
type: Pipe
## html
Simplify the use of `bypassSecurityTrustHtml`.
```html
<div [innerHTML]="content | html"></div>
```
## url
Simplify the use of `bypassSecurityTrustUrl`.
```html
<a [href]="file_url | url" target="_blank"></a>
```