Sunday, 31 December 2023

Solution NG5002: Unclosed block @

 How to solve if meet NG5002: Unclosed block @ component html.

To solve this problem, just replace code like below :

<p>Copyright @{{currentDate | date: 'y'}}. All

to

<p>Copyright &commat;{{currentDate | date: 'y'}}. All

So you just need replace @ symbol to &commat.

I hope this information can helping you.

No comments:

Post a Comment