

def data_out(self, text=None, **kwargs):
    '\n        Data Evennia -> User access hook.\n\n        Kwargs:\n            raw (bool): No parsing at all (leave ansi-to-html markers unparsed).\n            nomarkup (bool): Clean out all ansi/html markers and tokens.\n\n        '
    try:
        text = utils.to_str((text if text else ''), encoding=self.encoding)
        raw = kwargs.get('raw', False)
        nomarkup = kwargs.get('nomarkup', False)
        if raw:
            self.client.lineSend(self.suid, text)
        else:
            self.client.lineSend(self.suid, parse_html(text, strip_ansi=nomarkup))
        return
    except Exception:
        logger.log_trace()

dataset/ETHPy150Open evennia/evennia/evennia/server/portal/webclient.py WebClientSession.data_out/original