From 41f66095fdaee05d8bfdae13e8ec18a63cee1f2c Mon Sep 17 00:00:00 2001 From: Andrey Sazonov <61043163+firefighter-19@users.noreply.github.com> Date: Tue, 12 Nov 2024 03:29:04 +0200 Subject: [PATCH] fix(module:anchor): fix 'a' tag problem with 'null' or 'undefined' value if templateRef provided (#8864) Co-authored-by: Andrey Sazonov --- components/anchor/anchor-link.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/anchor/anchor-link.component.ts b/components/anchor/anchor-link.component.ts index 5bd34547f92..b9f525ce759 100644 --- a/components/anchor/anchor-link.component.ts +++ b/components/anchor/anchor-link.component.ts @@ -34,7 +34,7 @@ import { NzAnchorComponent } from './anchor.component'; #linkTitle class="ant-anchor-link-title" [href]="nzHref" - [title]="titleStr" + [attr.title]="titleStr" [target]="nzTarget" (click)="goToClick($event)" >