1. Gregory Petukhov
  2. typhoon

Commits

Gregory Petukhov  committed 777fc46

Fix escaping issue

  • Participants
  • Parent commits d1e1a7b
  • Branches default

Comments (0)

Files changed (1)

File typhoon/templatetags/typhoon_tags.py

View file
     """
 
     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')