def xtags(self):

        tg = ''
        for x in sorted(self.permitted_tags):
            tg += '<' + x
            if x in self.allowed_attributes:
                for y in self.allowed_attributes[x]:
                    tg += ' %s=""' % y
            tg += '> '
        return xssescape(tg.strip())
Returns a printable string informing the user which tags are allowed
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/sanitizer.py/XssCleaner.xtags