python 2.7 - Why are the html tags displayed as text? -


my code looks this

python:

render = web.template.render('templates/', base="layout") . . . fileout_text = codecs.open(filename_text, 'r', 'utf-8').read() text = markdown.markdown(fileout_text) return render.text_temple(text=text) 

text_template.html:

$def text      < text>$text < /text> 

now $text should contain html tags insted of markdown syntax. problem is, tags stay text when website displayed. appreciated. sorry spelling english not first language.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -