*my custom element:* <core-ajax auto method="GET" url="http://example.com/book" handleAs="json" response="{{response}}"></core-ajax> <core-header-panel mode="cover" layout horizontal flex> <div class="core-header tall">{{articlename}}</div> <div class="content" flex > {{response[0].content}} </div></core-header-panel>
content in db was stored in markdown format,it will be transformed to html markup when requested,this process was fine,i got the transformed html markup,but when it dynamically inserted into the page, the html markup wasn't rendered whereas original html tag . *markdown to html:(i use django-markdown-deux <https://github.com/trentm/django-markdown-deux>)* markdown(content) original data from db: [{"id":4,"title":"css 1","category":"CSS","articletags":["sa","asd"],"content":"*asdsdsasadsa*\r\n\r\n sdsadsadssdsasdsa","like":0,"createtime":"2015-04-17T05:58:01Z"}] *parsed data from db:* [{"id":4,"title":"css 1","category":"CSS","articletags":["sa","asd"],"content":"<p><em>asdsdsasadsa</em></p>\n\n<pre><code>sdsadsadssdsasdsa\n</code></pre>\n","like":0,"createtime":"2015-04-17T05:58:01Z"}] and result is : <https://lh3.googleusercontent.com/-cL7yL7z26Mk/VTDcgXpshWI/AAAAAAAAAFc/z88gT5aNG-o/s1600/22.png> <https://lh3.googleusercontent.com/-SH60G-yh8KA/VTDcjCbM7KI/AAAAAAAAAFk/OL7Q0hs5Xow/s1600/111.png> 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/013b24f5-d656-4e36-a200-abfa7c2ec339%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
