From aa6a764732f56158eef52be8187bedaef1d0bc4c Mon Sep 17 00:00:00 2001 From: Rye Date: Sat, 14 Mar 2026 18:18:57 +0100 Subject: [PATCH] fix maintainability issues raised by sonarqube - Unicode-aware string methods should be used for proper character handling (typescript:S7758) --- src/app/utils/ASCIILexicalTable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/utils/ASCIILexicalTable.ts b/src/app/utils/ASCIILexicalTable.ts index dc97b412..46c35c39 100644 --- a/src/app/utils/ASCIILexicalTable.ts +++ b/src/app/utils/ASCIILexicalTable.ts @@ -164,7 +164,7 @@ export class ASCIILexicalTable { prev += String.fromCharCode(lastCode - 1); while (prev.length < this.maxStrWidth) { - prev += String.fromCharCode(this.endCode); + prev += String.fromCodePoint(this.endCode); } return prev; }