You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a little problem displaying some special characters.
I have a dummy element that I called polymer-label, it's an extended bootstrap label with a button.
<linkrel="import" href="../bower_components/polymer/polymer.html"><polymer-elementname="polymer-label" attributes="labelType"><templateextend="span"><style>/* styles for the custom element itself - lowest specificity */:host {
/*display: block;*/
}
span.label {
border-bottom-right-radius:0px;
border-top-right-radius:0px;
display: inline;
}
#button-remove {
border-bottom-left-radius:0px;
border-top-left-radius:0px;
top:0px;
height:18px;
outline: none;
}
/* style if an ancestor has the different class :host(.different) { } */</style><spanclass="label label-{{labelType}}">
{{innerHTML}}
</span><buttonid="button-remove" class="btn btn-xs btn-{{labelType}} glyphicon glyphicon-remove"></button></template><script>Polymer('polymer-label',{//applyAuthorStyles: true,//resetStyleInheritance: true,// element is fully preparedready: function(){},// instance of the element is createdcreated: function(){},// instance was inserted into the documententeredView: function(){},// instance was removed from the documentleftView: function(){},// attribute added, removed or updatedattributeChanged: function(attrName,oldVal,newVal){}});</script></polymer-element>
the problem is when I use special characters like & or < :
Hi, I have a little problem displaying some special characters.
I have a dummy element that I called polymer-label, it's an extended bootstrap label with a button.
the problem is when I use special characters like
& or <
:the element converts them to HTML entities:

Can someone help me on this ? thx.
The text was updated successfully, but these errors were encountered: