MCPcopy Create free account
hub / github.com/DevCloudNinjas/DevOps-Projects / escape_html

Function escape_html

tools/build_starlight_content.py:793–799  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

791
792
793def escape_html(text: str) -> str:
794 return (
795 text.replace("&", "&")
796 .replace("<", "&lt;")
797 .replace(">", "&gt;")
798 .replace('"', "&quot;")
799 )
800
801
802def write_project_index(projects: list[dict]) -> None:

Callers 15

external_image_referenceFunction · 0.85
external_linkFunction · 0.85
original_readme_anchorFunction · 0.85
start_route_cardFunction · 0.85
hero_route_linkFunction · 0.85
project_cardFunction · 0.85
write_start_here_pageFunction · 0.85
project_summaryFunction · 0.85
project_tagsFunction · 0.85
tag_cardFunction · 0.85
write_tag_pagesFunction · 0.85
architecture_diagramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected