def from_value(self, value):
        if value is None:
            return self._type_factory.short_nvarchar(1, collation=self._collation)
        return self._from_class_value(value, type(value))
Parses a string, replace ANSI markup with html
dataset/ETHPy150Open denisenkom/pytds/pytds/tds_types.py/TdsTypeInferrer.from_value--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/utils/text2html.py/parse_html