FIX: do not escape html entities in plain text templates.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user