##// END OF EJS Templates
markup-renderer: use safe fetching of attributes to prevent from errors on malformed html.
markup-renderer: use safe fetching of attributes to prevent from errors on malformed html.

File last commit:

r703:1eda65ea default
r1840:05beb7b6 default
Show More
rhodecode-unsafe-html.js
12 lines | 244 B | application/javascript | JavascriptLexer
Polymer({
is: 'rhodecode-unsafe-html',
properties: {
text: {
type: String,
observer: '_handleText'
}
},
_handleText: function(newVal, oldVal){
this.innerHTML = this.text;
}
})