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

Popular posts from this blog

javascript - Feed FileReader from server side files -

c++ - What's the differece between of link to a dynamic file and as a input object? -

How to pass json object using PHP in Wepay API -