From 4b500ce8bb47606b6b0c58dc9df8a93f0f345234 Mon Sep 17 00:00:00 2001 From: Parth Buch Date: Fri, 20 Jul 2012 18:44:48 +0530 Subject: Added safe filter to display html for video and module description --- stapp/templates/video/home.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stapp/templates/video/home.html b/stapp/templates/video/home.html index 3269d01..90af79c 100644 --- a/stapp/templates/video/home.html +++ b/stapp/templates/video/home.html @@ -28,13 +28,13 @@ function myfunction(video,image) {% block video_description %}

{{ play.name }}

-

{{ play.description }}

+

{{ play.description|safe }}

{% endblock %} {% block module_list %} {% for module in modules %}

{{module.name}}

-
{{module.description}}
+
{{module.description|safe}}
{% for video in module.video_list.all %} {{video.name}}
-- cgit