Commits

Sergey Maranchuk committed cca8ef3

mark_safe added

Comments (0)

Files changed (1)

bbmarkup/__init__.py

 from django.conf import settings
 from django.utils.html import escape
 from django.template.defaultfilters import linebreaksbr
+from django.utils.safestring import mark_safe 
 
 
 __all__ = ('BBCODE_RULES', 'bbcode')
     if linebr:
         value = linebreaksbr(value)
 
-    return value
+    return mark_safe(value)