javascript - Django, html tags not interpreted -
i loading text db of django project display in template.
in text stored within data base, added html tags seems browser cannot interprete html tags.
here template:
<div> <!-- body_text = "<strong>hello</strong> word" --> {{ entry.body_text }} </div> and got raw text: <strong>hello</strong> word instead of
<strong>hello</strong> word what doing wrong?
Comments
Post a Comment