Imageviewer Sanitize content

I’m trying to insert image viewer inside dynamic content and I’m using DomSanitizer

this.article = this.sanitizer.bypassSecurityTrustHtml(data[7]);

Inside data[7] I have <img src=“src.jpg” imageViewer"> but after the content is sanitized imageViewer becomes imageviewer and it doesn’t work anymore. How can I sanitize content with sensitive words?
Thank you!

This repo might give you some hints. You can see a variable holding a base64 string of an image updating an img. I think it does it using <img [src]=“variableName” />