def unwrap_cdata(value):
    """Remove CDATA wrapping from `value` if present"""
    if value.startswith("<![CDATA[") and value.endswith("]]>"):
        return value[9:-3]
    else:
        return value
dataset/ETHPy150Open CybOXProject/python-cybox/cybox/utils/__init__.py/unwrap_cdata/original