Commit 23b1702a authored by Bram in 't Zandt's avatar Bram in 't Zandt
Browse files

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

parent c9bcbe55
......@@ -51,7 +51,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