diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-05-28 18:05:31 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-05-28 18:05:31 +0200 |
| commit | 89901f2663c10b2b42bde10665b566c08b678532 (patch) | |
| tree | 66457f507ca343ccc2c5c674d75dc4482b662585 /templates/index.html | |
| parent | 28fc7d8068ee6b88fed55328f0bf88a37c522020 (diff) | |
| download | jokevote-89901f2663c10b2b42bde10665b566c08b678532.tar.gz jokevote-89901f2663c10b2b42bde10665b566c08b678532.zip | |
insert rendered html into db
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index ef7559d..ca8f25b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -20,7 +20,7 @@ <button class="btn{% if joke.reports>0 %}-flat{% endif %} col s12" type="submit" name="vote" value="downvote"><i class="material-icons">thumb_down</i> {{ joke.downvotes }}</button> </form> <div class="col s8 {% if joke.reports>0 %}grey-text{% endif %}"> - <p>{{ joke.text }}</p> + <p>{{ joke.text|safe }}</p> </div> <form class="col s2" action="report" method="post"> <input type="hidden" name="id" value="{{ joke.id }}"> |
