<s> import re <EOL> from django import template <EOL> from django . template . defaultfilters import stringfilter <EOL> register = template . Library ( ) <EOL> _PREPOS_RE = re . compile ( r'<STR_LIT>' , re . M | re . I | re . U ) <EOL> @ register . filter <EOL> @ stringfilter <EOL> def prepos ( text ) : <EOL> """<STR_LIT>""" <EOL> return _PREPOS_RE . sub ( '<STR_LIT>' , text ) </s>
