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