Commits

Gregory Petukhov committed 777fc46

Fix escaping issue

  • Participants
  • Parent commits d1e1a7b

Comments (0)

Files changed (1)

typhoon/templatetags/typhoon_tags.py

     """
 
     if request.path in ('', '/') and hasattr(settings, 'TYPHOON_HOMEPAGE_ITEM'):
-        return settings.TYPHOON_HOMEPAGE_ITEM
+        return mark_safe(settings.TYPHOON_HOMEPAGE_ITEM)
 
     try:
         dbtext = anydbm.open(settings.TYPHOON_TEXT_DB, 'r')