mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 02:22:09 +08:00
9 lines
210 B
Python
9 lines
210 B
Python
def _escape_inner(s: str, /) -> str:
|
|
return (
|
|
s.replace("&", "&")
|
|
.replace(">", ">")
|
|
.replace("<", "<")
|
|
.replace("'", "'")
|
|
.replace('"', """)
|
|
)
|