2023-06-20, 12:43 PM 
(This post was last modified: 2023-06-20, 01:08 PM by 1hitsong. Edited 1 time in total.)
		
	
	Code:
{timeLineItem.emojis.map( emoji => (
    postContent = postContent.replace(`:${emoji.shortcode}:`,
        `<img src="${emoji.static_url}" width=25 alt="${emoji.shortcode}" title="${emoji.shortcode}" />`
    )
))}I was working on my Mastodon client this morning before work. This is part of the code that replaces the custom emoji in a post with their images.
🤘 Enjoy
	
