docs(production): standardiserad produktionsberedskap och gap-analys
Lägger docs/production-readiness.md och siax/production-gaps.json enligt SIAX Master Definition of Done. Underlag: git-, kod- och live-evidens 2026-11-11. Nivån är evidensbaserad, inte ett leveransgodkännande.
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Escape a string for use as XML text or attribute content. Used by every
|
||||
* XML-emitting generator (AGI, KU10, pain.001, Peppol BIS, ROT/RUT). The
|
||||
* replace order matters: `&` first, so the entities it produces are not
|
||||
* re-escaped.
|
||||
*/
|
||||
export function escapeXml(str: string): string {
|
||||
return str
|
||||
.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''')
|
||||
}
|
||||
Reference in New Issue
Block a user