• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Custom smilies using numerals

Myke623

Active member
#1
I have some custom smilies on my site that use numerals enclosed in square brackets, e.g.:

Code:
[1], [2], etc
When these smilies are inserted via the smiley menu, the initially appear OK in the editor, but if you submit the post, the result is that the square brackets get stripped leaving just the numerals behind, and hence a broken smiley. This also occurs when you switch from the Rich Text editing, to plain text, and back again, prior to submission.

However, if you manually type the smiley out (e.g. opening-square-bracket, number, closing-square-bracket) it behaves as normal.

I've disabled all add-ons to ensure nothing was conflicting, and this errant behaviour remains the same. This used to work fine in the prior version (1.1.3).