python 2.7 - How to modify a pyramid template on the fly before rendering -
please working on site scrap website's html table source code , append template before rendering page. have written script stores html code in variable don't know how appendix it. kindly suggest.
if you're using jinja, try this:
<div class="html-content">{{scraped_html|safe}}</div>
Comments
Post a Comment