Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ember-cli-sanitize-html

devotox1.8kMIT2.0.3

Wrapper for Sanitize HTML to help clean up unwanted html tags

ember-addon, sanitize-html, sanitize

readme

Ember Observer Score Build Status Coverage Status NPM Version NPM Downloads Dependency Status DevDependency Status Greenkeeper

ember-cli-sanitize-html

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

DEMO

Installation

ember install ember-cli-sanitize-html

Usage

Component

{{sanitize-html raw=<true|false>[default=false] value="YOUR HTML" options=options}}
import sanitizeHtml from 'ember-cli-sanitize-html'
sanitizeHtml('YOUR HTML', options)

Available options

See original library sanitize-html

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.