From 8f71fd5d5a048aed3dc13917b44dab6237ba9746 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 17 Nov 2026 14:27:57 +0200 Subject: [PATCH] fix: code in AI action details is highlighted by language: HTML templates and SVG as markup, CSS with selectors, properties and values, forms and configuration as JSON --- .../ai/ai-action-detail.component.html | 2 +- .../components/ai/ai-action-detail.models.ts | 8 +- .../home/components/ai/ai-code-block.ts | 113 +++++++++++++++++- 3 files changed, 115 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-action-detail.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-action-detail.component.html index 415aaa3157..47735c3c8e 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-action-detail.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-action-detail.component.html @@ -110,7 +110,7 @@
} @case ('code') { -
{{ block.text }}
+
{{ block.text }}
} @case ('links') {