2 from django import template
3 from django.utils.safestring import mark_safe
4 from ..utils.text import textilepl
6 register = template.Library()
10 return mark_safe(textile.textile(node))
13 def textile_restricted_en(node):
14 return mark_safe(textile.textile_restricted(node))
18 return mark_safe(textilepl.textile_pl(node))
21 def textile_restricted_pl(node):
22 return mark_safe(textilepl.textile_restricted_pl(node))