- 8 DB models (services, incidents, monitors, subscribers, etc.) - Full CRUD API for services, incidents, monitors - Public status page with live data - Incident detail page with timeline - API key authentication - Uptime monitoring scheduler - 13 tests passing - TECHNICAL_DESIGN.md with full spec
8 lines
210 B
Python
8 lines
210 B
Python
def _escape_inner(s: str, /) -> str:
|
|
return (
|
|
s.replace("&", "&")
|
|
.replace(">", ">")
|
|
.replace("<", "<")
|
|
.replace("'", "'")
|
|
.replace('"', """)
|
|
)
|