This is a stumper. When adding a smiley to a forum post, it is inserted fine - but, after saving the post, the smiley is inserted multiple times and surrounded with extra image tag markup. What's more, the smiley that I insert is not the one that is saved. See below:
Smileys are inserted ok:
But they appear like this:
Check the code in Google developer tools:
Any ideas?