I'm using polymer-jsonp to perform JSONP requests, but the response sometimes contains html.
For example, supposing that post.content is "<strong>Foo</strong> bar"
, how can I display {{post.content}} such that "Foo"
is in bold?
<polymer-element name="feed-element" attributes="">
<template>
<template repeat="{{post in posts.feed.entry}}">
<p>{{post.content}}</p>
</template>
<polymer-jsonp url="url" response="{{posts}}"></polymer-jsonp>
</template>
<script>
Polymer('feed-element', {
created: function() { },
attached: function() { },
detached: function() { },
attributeChanged: function(attrName, oldVal, newVal) { }
});
</script>
</polymer-element>