From 9aca4e94081fbce3d60121be0af3878805279020 Mon Sep 17 00:00:00 2001 From: 1AhmedYasser <26207361+1AhmedYasser@users.noreply.github.com> Date: Fri, 30 Jan 2026 17:32:13 +0200 Subject: [PATCH 1/4] chore(1736): Bumped Package Version --- GUI/package-lock.json | 8 ++++---- GUI/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GUI/package-lock.json b/GUI/package-lock.json index 078e19f60..592039c4f 100644 --- a/GUI/package-lock.json +++ b/GUI/package-lock.json @@ -8,7 +8,7 @@ "name": "byk-training-module-gui", "version": "0.0.0", "dependencies": { - "@buerokratt-ria/common-gui-components": "^0.0.37", + "@buerokratt-ria/common-gui-components": "^0.0.40", "@buerokratt-ria/header": "^0.1.47", "@buerokratt-ria/menu": "^0.2.10", "@buerokratt-ria/styles": "^0.0.1", @@ -1821,9 +1821,9 @@ } }, "node_modules/@buerokratt-ria/common-gui-components": { - "version": "0.0.37", - "resolved": "https://registry.npmjs.org/@buerokratt-ria/common-gui-components/-/common-gui-components-0.0.37.tgz", - "integrity": "sha512-I8F/s+xflIH76mzbIzUVRH8MUgRifULQiEB7G7+Wre3lkWLncHGefUq9zyqfUU+SE/3Kmqgv4uMedOlu2/W7YQ==", + "version": "0.0.40", + "resolved": "https://registry.npmjs.org/@buerokratt-ria/common-gui-components/-/common-gui-components-0.0.40.tgz", + "integrity": "sha512-b8DMC++05psbVNJCBh8Bpo1o+N97sh91nwbMgoKoTG80eKeKTxmZmaPEc5/qVuSPwD5/dq/GQLAixurJyV7zog==", "peerDependencies": { "@buerokratt-ria/header": "^0.1.20", "@fontsource/roboto": "^4.5.8", diff --git a/GUI/package.json b/GUI/package.json index 584010ddc..3a8d92b68 100644 --- a/GUI/package.json +++ b/GUI/package.json @@ -14,7 +14,7 @@ "@buerokratt-ria/header": "^0.1.47", "@buerokratt-ria/menu": "^0.2.10", "@buerokratt-ria/styles": "^0.0.1", - "@buerokratt-ria/common-gui-components": "^0.0.38", + "@buerokratt-ria/common-gui-components": "^0.0.40", "@fontsource/roboto": "^4.5.8", "@formkit/auto-animate": "^1.0.0-beta.5", "@radix-ui/react-accessible-icon": "^1.0.1", From 9f0b4e1512aa8b881c6c36396fdc9ff526bde661 Mon Sep 17 00:00:00 2001 From: 1AhmedYasser <26207361+1AhmedYasser@users.noreply.github.com> Date: Wed, 4 Feb 2026 16:54:54 +0200 Subject: [PATCH 2/4] fix(827): Enhanced Markdownify --- GUI/src/components/HistoricalChat/Markdownify.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/GUI/src/components/HistoricalChat/Markdownify.tsx b/GUI/src/components/HistoricalChat/Markdownify.tsx index 1ad46f1b1..9e23aaf3c 100644 --- a/GUI/src/components/HistoricalChat/Markdownify.tsx +++ b/GUI/src/components/HistoricalChat/Markdownify.tsx @@ -43,6 +43,12 @@ function formatMessage(message?: string): string { return filteredMessage .replaceAll(/&#x([0-9A-Fa-f]+);/g, (_, hex: string) => String.fromCharCode(parseInt(hex, 16))) + .replaceAll('&', '&') + .replaceAll('>', '>') + .replaceAll('<', '<') + .replaceAll('"', '"') + .replaceAll(''', "'") + .replaceAll(''', "'") .replaceAll(/(^|\n)(\d{4})\.\s/g, (match, prefix, year) => { const remainingText = filteredMessage.substring(filteredMessage.indexOf(match) + match.length); const sentenceEnd = remainingText.indexOf('\n\n'); @@ -54,7 +60,8 @@ function formatMessage(message?: string): string { } return `${prefix}${year}\\. `; }) - .replace(/(?<=\n)\d+\.\s/g, hasSpecialFormat(filteredMessage) ? '\n\n$&' : '$&'); + .replaceAll(/(?<=\n)\d+\.\s/g, hasSpecialFormat(filteredMessage) ? '\n\n$&' : '$&') + .replaceAll(/^(\s+)/g, (match) => match.replaceAll(' ', ' ')); } const Markdownify: React.FC = ({ message }) => ( From 6a503976acda7d3d665751e3736cd65319af7b97 Mon Sep 17 00:00:00 2001 From: 1AhmedYasser <26207361+1AhmedYasser@users.noreply.github.com> Date: Wed, 4 Feb 2026 17:08:04 +0200 Subject: [PATCH 3/4] chore(827): Bumped package version --- GUI/package-lock.json | 8 ++++---- GUI/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GUI/package-lock.json b/GUI/package-lock.json index 592039c4f..8da53e5d7 100644 --- a/GUI/package-lock.json +++ b/GUI/package-lock.json @@ -8,7 +8,7 @@ "name": "byk-training-module-gui", "version": "0.0.0", "dependencies": { - "@buerokratt-ria/common-gui-components": "^0.0.40", + "@buerokratt-ria/common-gui-components": "^0.0.41", "@buerokratt-ria/header": "^0.1.47", "@buerokratt-ria/menu": "^0.2.10", "@buerokratt-ria/styles": "^0.0.1", @@ -1821,9 +1821,9 @@ } }, "node_modules/@buerokratt-ria/common-gui-components": { - "version": "0.0.40", - "resolved": "https://registry.npmjs.org/@buerokratt-ria/common-gui-components/-/common-gui-components-0.0.40.tgz", - "integrity": "sha512-b8DMC++05psbVNJCBh8Bpo1o+N97sh91nwbMgoKoTG80eKeKTxmZmaPEc5/qVuSPwD5/dq/GQLAixurJyV7zog==", + "version": "0.0.41", + "resolved": "https://registry.npmjs.org/@buerokratt-ria/common-gui-components/-/common-gui-components-0.0.41.tgz", + "integrity": "sha512-B/gyVjkhJLfJXIVpafqI4il5j52QZSLLHtyboSZRbyVFt1SnSreb+SP6YynQvVTWPW9/BryyflYwEJ93fehXQA==", "peerDependencies": { "@buerokratt-ria/header": "^0.1.20", "@fontsource/roboto": "^4.5.8", diff --git a/GUI/package.json b/GUI/package.json index 3a8d92b68..afb3c74f0 100644 --- a/GUI/package.json +++ b/GUI/package.json @@ -14,7 +14,7 @@ "@buerokratt-ria/header": "^0.1.47", "@buerokratt-ria/menu": "^0.2.10", "@buerokratt-ria/styles": "^0.0.1", - "@buerokratt-ria/common-gui-components": "^0.0.40", + "@buerokratt-ria/common-gui-components": "^0.0.41", "@fontsource/roboto": "^4.5.8", "@formkit/auto-animate": "^1.0.0-beta.5", "@radix-ui/react-accessible-icon": "^1.0.1", From 607960f7349fda8fe8b54649a8a8b070ffc4c77f Mon Sep 17 00:00:00 2001 From: 1AhmedYasser <26207361+1AhmedYasser@users.noreply.github.com> Date: Wed, 4 Feb 2026 18:31:23 +0200 Subject: [PATCH 4/4] chore(644): Bumped package version --- GUI/package-lock.json | 8 ++++---- GUI/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GUI/package-lock.json b/GUI/package-lock.json index 8da53e5d7..d0e72656d 100644 --- a/GUI/package-lock.json +++ b/GUI/package-lock.json @@ -8,7 +8,7 @@ "name": "byk-training-module-gui", "version": "0.0.0", "dependencies": { - "@buerokratt-ria/common-gui-components": "^0.0.41", + "@buerokratt-ria/common-gui-components": "^0.0.42", "@buerokratt-ria/header": "^0.1.47", "@buerokratt-ria/menu": "^0.2.10", "@buerokratt-ria/styles": "^0.0.1", @@ -1821,9 +1821,9 @@ } }, "node_modules/@buerokratt-ria/common-gui-components": { - "version": "0.0.41", - "resolved": "https://registry.npmjs.org/@buerokratt-ria/common-gui-components/-/common-gui-components-0.0.41.tgz", - "integrity": "sha512-B/gyVjkhJLfJXIVpafqI4il5j52QZSLLHtyboSZRbyVFt1SnSreb+SP6YynQvVTWPW9/BryyflYwEJ93fehXQA==", + "version": "0.0.42", + "resolved": "https://registry.npmjs.org/@buerokratt-ria/common-gui-components/-/common-gui-components-0.0.42.tgz", + "integrity": "sha512-FOPZBhsbIw3Ii1wi21WzgyAWmaOi6X2/OFE4+bP46tRipe8bsuxK8ZSJ1V5tyWXh6HCCoU2ykXTpdEl9e546hQ==", "peerDependencies": { "@buerokratt-ria/header": "^0.1.20", "@fontsource/roboto": "^4.5.8", diff --git a/GUI/package.json b/GUI/package.json index afb3c74f0..fff2df425 100644 --- a/GUI/package.json +++ b/GUI/package.json @@ -14,7 +14,7 @@ "@buerokratt-ria/header": "^0.1.47", "@buerokratt-ria/menu": "^0.2.10", "@buerokratt-ria/styles": "^0.0.1", - "@buerokratt-ria/common-gui-components": "^0.0.41", + "@buerokratt-ria/common-gui-components": "^0.0.42", "@fontsource/roboto": "^4.5.8", "@formkit/auto-animate": "^1.0.0-beta.5", "@radix-ui/react-accessible-icon": "^1.0.1",