st-h / ember-content-editable

A contenteditable component for ember-cli that just works™
MIT License
66 stars 31 forks source link

type "html" doenst work #31

Closed cahyowhy closed 6 years ago

cahyowhy commented 7 years ago

i am trying to insert value with my custom tag but it doesnt work {{content-editable value=message placeholder=(t 'placeholder.input.message') tagName="span" enter='doSend' type="html"}} dawewd

st-h commented 6 years ago

@cahyowhy are you actually trying to render html? that would introduce possible xss security issues and some more dangerous stuff.

from the docs:

text strips out any html tags, html doesn't.

the screenshot looks like html is not stripped out, so everything works as expected. Please reopen if this should not be the case.