DomSanitizer in Angular

49 views Asked by At

I am bit confused about DomSanitizer of Angular. As far as I read it should strip away all the html tags from the input. But Please check the stackblitz attached it doesnt remove all the tags. Am I doing something wrong? text

I checked few blog posts online and tried following the same. But it doesnt mention what exact output to expect and its not giving me the output I was expecting.

0

There are 0 answers