ember-sanitize-html

0.0.1 • Public • Published

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

/ember-sanitize-html/

    Package Sidebar

    Install

    npm i ember-sanitize-html

    Weekly Downloads

    34

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • vyobukhov