Download venv/lib/python3.12/site-packages/markupsafe/_native.py from anonymous-CAP/cap-hatespeech: direct link, hf CLI and curl.
- Browser
- Download file 210 Bytes
-
https://huggingface.co/anonymous-CAP/cap-hatespeech/resolve/main/venv/lib/python3.12/site-packages/markupsafe/_native.py
- Command line
-
hf download hf://anonymous-CAP/cap-hatespeech/venv/lib/python3.12/site-packages/markupsafe/_native.py
-
curl -L -o _native.py https://huggingface.co/anonymous-CAP/cap-hatespeech/resolve/main/venv/lib/python3.12/site-packages/markupsafe/_native.py
210 Bytes
| def _escape_inner(s: str, /) -> str: | |
| return ( | |
| s.replace("&", "&") | |
| .replace(">", ">") | |
| .replace("<", "<") | |
| .replace("'", "'") | |
| .replace('"', """) | |
| ) | |