FIX: do not escape html entities in plain text templates.

This commit is contained in:
heinzel committed 2018-11-27 10:11:18 +01:00
1 parent cec64de400
commit 7f54939b90
3 files changed
+17 -2

No files matched your search

+1 -1
View File
@@ -553,7 +553,7 @@ class Event(models.Model):
template_name = 'default.txt'
template_path = os.path.join('dav_events', 'event', template_name)
template = get_template(template_path)
template = get_template(template_path, using='PLAINTEXT')
return template.render(self.get_template_context({'show_internal_fields': show_internal_fields}))
def render_as_html(self):