bullerwins's picture
Upload folder using huggingface_hub
eb00867 verified
raw
history blame
210 Bytes
def _escape_inner(s: str, /) -> str:
return (
s.replace("&", "&")
.replace(">", ">")
.replace("<", "&lt;")
.replace("'", "&#39;")
.replace('"', "&#34;")
)