Hi,
Kendo Chat with skipSanitization: true are still changing the messages so the outputted html breaks since it get A href tag inserted in bad places.
For example if I try to render an img tags it gets broken since a new A tag are being inserted in it so the html in the output message are invalid.
If the "src" url of the image tag doesnt starts with "https:" then it works. So now I need to do something like this to get it working:
let url = "https://demos.telerik.com/kendo-ui/content/web/Customers/LONEP.jpg";
url = url.replace("https:", "");
// becomes "//demos.telerik.com/kendo-ui/content/web/Customers/LONEP.jpg"Same issue with A href tags url. If they contains a query string then they also became broken. This can also be fixed by removing https: so they just start with //. Works until you have www in them, then it will never work.
Here is examples of this issue:
https://dojo.telerik.com/RrwHKAfv
I want to use a markdown parser (https://www.npmjs.com/package/marked) with DOMPurify.sanitize for my chat but doenst really work right now.
Am I doing something wrong or have I missunderstood what "skipSanitization: true" means?
Best Regards,
Douglas
