forked from leftypol/leftypol
Bugfix: HTML injection in post editing (introduces and fixes yet another bug)
This commit is contained in:
parent
a5312ebe89
commit
ea2b8cce07
3 changed files with 9 additions and 6 deletions
|
@ -32,7 +32,7 @@
|
|||
{% trans %}Comment{% endtrans %}
|
||||
</th>
|
||||
<td>
|
||||
<textarea name="body" id="body" rows="8" cols="35">{% if raw %}{{ post.body | e }}{% else %}{{ post.body_nomarkup }}{% endif %}</textarea>
|
||||
<textarea name="body" id="body" rows="8" cols="35">{% if raw %}{{ post.body|e }}{% else %}{{ post.body_nomarkup|e }}{% endif %}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue