What happens in Foundry VTT:
An image is posted to chat from an image journal entry:
What is posted to Discord:
<img class="ddbimporter-chat-image" data-src="https://basepath.dev/D&D/subpath/006-00-007.butterfly.png" src="https://basepath.dev/D&D/subpath/006-00-007.butterfly.png" />
There are two issues here, one is that it posts the html instead of just a link to the image, and two, the image link has an ampersand in it, when clicked in discord it doesn't resolve because of this.
What would be expected:
Post the unescaped url so that discord could render the image in the discord chat or the users could at least click the link to open the image in a browser.
What happens in Foundry VTT: An image is posted to chat from an image journal entry:
What is posted to Discord:
<img class="ddbimporter-chat-image" data-src="https://basepath.dev/D&D/subpath/006-00-007.butterfly.png" src="https://basepath.dev/D&D/subpath/006-00-007.butterfly.png" />
There are two issues here, one is that it posts the html instead of just a link to the image, and two, the image link has an ampersand in it, when clicked in discord it doesn't resolve because of this.
What would be expected: Post the unescaped url so that discord could render the image in the discord chat or the users could at least click the link to open the image in a browser.