0.0.1 • Published 7 years ago

ember-sanitize-html v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

ember-sanitize-html

A wrapper around the sanitize-html library for use in ember-cli projects

Installation

  • ember install ember-sanitize-html

Usage

Component

{{sanitize-html value="YOUR HTML" options=options}}

Util

sanitizeHtml('YOUR HTML', options)

or

import sanitize from 'ember-sanitize-html/utils/sanitize-html'
sanitize('YOUR HTML', options)

Available options

See original library sanitize-html