'special blocks like notextile or code'

def fSpecial(self, match):

    (before, text, after) = match.groups()
    if (after is None):
        after = ''
    return ''.join([before, self.shelve(self.encode_html(text)), after])
