sure,thanks for recommendations,but my real problem is that polymer escapes any html when data-biding for security reason,i should use this.injectBoundHTML(e.detail.response[0].content, this.$.content);
On Sunday, April 19, 2015 at 4:50:51 AM UTC+8, Tomek W wrote: > > You can try https://github.com/Juicy/juicy-markdown to parse and render > markdown: > <juicy-markdown value="{{markdowncontent}}"></juicy-markdown> > > Or https://github.com/Juicy/juicy-html to render already parsed markdown > HTML: > <juicy-html content="{{htmlcontent}}"></juicy-html> > > Best regards, > Tomek Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/8436aa4f-b75e-4646-a1d3-58639a24851b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
