def _escape(self, txt):
        txt = txt.replace('&', '&amp;')
        txt = txt.replace('<', '&lt;')
        txt = txt.replace('>', '&gt;')
        txt = txt.replace('"', '&quot;')
        return txt
Calculate slice bound that corresponds to given label.
dataset/ETHPy150Open natestedman/Observatory/observatory/lib/markdown/extensions/fenced_code.py/FencedBlockPreprocessor._escape--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index.get_slice_bound