MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / escapeXml

Function escapeXml

website/vite.config.ts:137–144  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

135}
136
137function escapeXml(value: string) {
138 return value
139 .replaceAll('&', '&')
140 .replaceAll('<', '&lt;')
141 .replaceAll('>', '&gt;')
142 .replaceAll('"', '&quot;')
143 .replaceAll("'", '&apos;');
144}
145
146function writeCrawlerFiles() {
147 const sitemapBody = buildRoutes()

Callers 1

writeCrawlerFilesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected