@staticmethod
def escape(data):
    """Escape the ',' and '=' characters for 'a=' and 'n=' attributes.

        Replaces '=' with '=3D' and ',' with '=2C'.

        :Parameters:
            - `data`: string to escape
        :Types:
            - `data`: `bytes`
        """
    return data.replace(b'=', b'=3D').replace(b',', b'=2C')
