@property
    def label(self):
        text = mark_safe(
            self.text) if self.allow_tags else conditional_escape(self.text)
        if force_unicode(text) == '':
            text = mark_safe('&nbsp;')
        for wrap in self.wraps:
            text = mark_safe(wrap % text)
        return text
dataset/ETHPy150Open sshwsfc/xadmin/xadmin/views/list.py/ResultItem.label/original