Spaces:
Running
Running
Download python_embed/Lib/site-packages/markupsafe/_native.py from Aluode/PerceptionLabPortable: direct link, hf CLI and curl.
- Browser
- Download file 218 Bytes
-
https://huggingface.co/spaces/Aluode/PerceptionLabPortable/resolve/main/python_embed/Lib/site-packages/markupsafe/_native.py
- Command line
-
hf download hf://spaces/Aluode/PerceptionLabPortable/python_embed/Lib/site-packages/markupsafe/_native.py
-
curl -L -o _native.py https://huggingface.co/spaces/Aluode/PerceptionLabPortable/resolve/main/python_embed/Lib/site-packages/markupsafe/_native.py
218 Bytes
| def _escape_inner(s: str, /) -> str: | |
| return ( | |
| s.replace("&", "&") | |
| .replace(">", ">") | |
| .replace("<", "<") | |
| .replace("'", "'") | |
| .replace('"', """) | |
| ) | |