(name: string)
| 316 | } |
| 317 | |
| 318 | function assertSafeXmlAttributeName(name: string): void { |
| 319 | if (UNSAFE_XML_ATTRIBUTE_NAMES.has(name)) { |
| 320 | throw new Error(`Unsupported XML attribute name "${name}".`); |
| 321 | } |
| 322 | } |
| 323 | |
| 324 | function decodeXmlEntities(value: string): string { |
| 325 | return value.replace( |