I have a button that opens whatsapp to send messages to specific numbers. However today I noticed that it has stopped working in Chrome for at least some of my users and myself. Works for me in Firefox
This is the documentation and it is as basic as it gets.
And this is a codepen example
The problem is that when clicking on the link to send a message, the HTML is rendered in plain text because the response is wrapped inside
<pre> tags as shown in the screenshot below
Does anyone know how I can fix this? Or is it a change from whatsapp or chrome that has caused it to break?