Angular DomSanitizer - SecurityContext.NONE
Apparently, if we use domSanitizer.sanitize
with SecurityContext.NONE
, it won't perform any sanitation and will return the value as is.
Thus, this will allow HTML with embedded URLs, styling and scripts.
Therefore it is highly recommended not to use this in your code.