SMILIES
Problem: If you have a longer smiliestext contain a shorter one, the longer one will not be displayed correctly
Example: if you have 2 smiles: :) and :)) => your smilies will be displayed as and )
see attachment for more examples
Suggest solution:
replace smilies text from the longest ones (order by LENGTH DESC)
ORDER BY LENGTH( `smilietext` ) DESC in bbcodes_parse
Related topic:
Problem: If you have a longer smiliestext contain a shorter one, the longer one will not be displayed correctly
Example: if you have 2 smiles: :) and :)) => your smilies will be displayed as and )
see attachment for more examples
Suggest solution:
replace smilies text from the longest ones (order by LENGTH DESC)
ORDER BY LENGTH( `smilietext` ) DESC in bbcodes_parse
Related topic:
Comment