create-panal-agent 0.17.1 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/_package.json +1 -1
- package/template/src/salida.ts +2 -0
package/package.json
CHANGED
package/template/_package.json
CHANGED
package/template/src/salida.ts
CHANGED
|
@@ -129,6 +129,8 @@ function escaparXml(s: string): string {
|
|
|
129
129
|
.replace(/</g, '<')
|
|
130
130
|
.replace(/>/g, '>')
|
|
131
131
|
.replace(/"/g, '"')
|
|
132
|
+
// Los de control no son válidos en XML, ni siquiera escapados.
|
|
133
|
+
// eslint-disable-next-line no-control-regex -- son justo los que hay que quitar
|
|
132
134
|
.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f]/g, '');
|
|
133
135
|
}
|
|
134
136
|
|