I'm using decodeURI on a Vue project I'm working on. Though, the API I'm utilising (Reddit) it returning encoded URL's for their images. decodeURI is working to an extent, but it is not replacing & with the correct &.
Is there a way to fix this?
<img :src="decodeURI(post.data.preview.images[0].source.url)" :alt=post.data.title />