<s> from django . template import Library <EOL> from django_markup . markup import formatter <EOL> from django . utils . safestring import mark_safe <EOL> register = Library ( ) <EOL> @ register . filter <EOL> def apply_markup ( text , filter_name ) : <EOL> return mark_safe ( formatter ( text , filter_name ) ) </s>
