Commit c2c38d9e authored by Tom van Bussel's avatar Tom van Bussel
Browse files

Merge branch '491-html-entities-in-titles-of-calendar-links' into 'master'

Unescape the descriptionfield of an event so HTML entities are decoded.

Closes #491

See merge request !586
parents 8e8bba3b 23b1702a
......@@ -53,7 +53,7 @@ class CalenderJSSerializer(serializers.ModelSerializer):
return instance.title
def _description(self, instance):
return strip_tags(instance.description)
return unescape(strip_tags(instance.description))
def _background_color(self, instance):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment