Auto-download images inserted as bb codes

My users discovered an endless source of emojis…

They’re just clicking the “copy insert code for forums” button on various emoji collection websites and inserting the code in our forum. The code looks like this:


Not only does Discourse skip downloading such an image for local storage, it also keeps an undesired link. i.e. the image is clickable.

I think this behaviour is not desirable. But if that was the intention, may we have an option to automatically convert such IMG insider URL combinations into a simple static image, which is them downloaded and stored locally, just like any other images in topic replies?