XF 1.3 smilie overloading

briansol

Well-known member
Licensed customer
I have 2 smilies,

one is
Code:
:p

the other is
Code:
:pop:

pop never works, I get psmilieOP:

is there a way to make both of these work without changing : p ?
 
yeah, i'd like to keep it though. I have many others like : D , : P : J etc that basically kill half the alphabet.

it's almost like the regular expression match needs a $ end check too
 
I can't reproduce this. It should always look for the longest match first. If you remove the :p smiley, can you confirm that :pop: works as expected?
 
Further testing, it seems to fail only on one that has numbers in it. I used pop here only has a quick example.

:ph34r: is one we use... and it won't come out right. but :popcorn: does indeed render proper
 
Sorry, I still can't reproduce this and I don't see any reason for the numbers to make a difference.
 
I finally figured this out... apparently it doesn't work well when you have two :codes: on one line.

hitting enter between them enabled it. :X
 
Back
Top Bottom