From ec25433eb14c0038af26ab08f2c42c671498927a Mon Sep 17 00:00:00 2001 From: tammy Date: Thu, 5 Feb 2026 22:56:08 +0530 Subject: [PATCH] fix: Instructions external link to open in new tab --- .../src/lib/_helpers/template-utils.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/packages/angular-sdk-components/src/lib/_helpers/template-utils.ts b/packages/angular-sdk-components/src/lib/_helpers/template-utils.ts index c351b8db..15b05853 100644 --- a/packages/angular-sdk-components/src/lib/_helpers/template-utils.ts +++ b/packages/angular-sdk-components/src/lib/_helpers/template-utils.ts @@ -52,6 +52,24 @@ export class TemplateUtils { // The raw metadata for `instructions` will be something like '@PARAGRAPH .SomeParagraphRule' but // it is evaluated by core logic to the content if (instructions !== 'casestep' && instructions !== 'none') { + // if the instructions contains a link, and the link is external, add a target attribute to open in a new window + if (instructions.includes('