Merge pull request 'Fix double-encoding on post edit form' (#54) from edit-post-double-encode into config

This commit is contained in:
discomrade 2021-10-27 20:46:18 +00:00
commit 6aa992d6a2

View File

@ -15,7 +15,7 @@
{% trans %}Email{% endtrans %}
</th>
<td>
<input type="text" name="email" size="25" maxlength="40" autocomplete="off" value="{{ post.email|e }}">
<input type="text" name="email" size="25" maxlength="40" autocomplete="off" value="{{ post.email }}">
</td>
</tr>
<tr>
@ -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|e }}{% endif %}</textarea>
<textarea name="body" id="body" rows="8" cols="35">{% if raw %}{{ post.body }}{% else %}{{ post.body_nomarkup }}{% endif %}</textarea>
</td>
</tr>
</table>