Commits

Jacek Bzdak  committed 9b68107

Added support for custom templates

  • Participants
  • Parent commits 5ad2fdf

Comments (0)

Files changed (1)

File templatetags/mailhide.py

     ctx['target_url'] = href
 
     return mark_safe(
-        render_to_string("mailhide/obfuscated_email.html", ctx)
+        render_to_string(("mailhide/custom_obfuscated_email.html",
+                          "mailhide/obfuscated_email.html"), ctx)
     )