Is there a way to allow safe html data bind in polymer? -
Is there a way to allow data bind with HTML rendering in polymer?
For example AngularJS has the "ng-html-bind" instruction that works. I'm looking for something similar.
Here is an example where I am ready to use it.
& lt; Core-tooltip & gt; & Lt; Core-icon icon = "info-layout" size = "30" & gt; & Lt; / Core-icon & gt; & Lt; Div tip & gt; {{Box.description}} & lt; / Div & gt; & Lt; / Core-tooltip & gt; Any suggestions on how to do this differently? I am loading this data from a json file and I'm searching for a general way to allow "safe" HTML rendering (against XSS).
It has been answered several times:
-
-
Comments
Post a Comment