MCPcopy Index your code
hub / github.com/github/copilot-sdk / escapeXmlAttribute

Function escapeXmlAttribute

scripts/codegen/csharp.ts:85–87  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

83}
84
85function escapeXmlAttribute(text: string): string {
86 return escapeXml(text).replace(/"/g, """).replace(/'/g, "'");
87}
88
89/** Ensures text ends with sentence-ending punctuation. */
90function ensureTrailingPunctuation(text: string): string {

Callers 1

xmlDocNamedElementFunction · 0.85

Calls 1

escapeXmlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…