Welcome Guest, Not a member yet? Register   Sign In
parse_smileys and HTML entities bug
#7

[eluser]sophistry[/eluser]
:-) 8-/ %-P in the referenced thread (first post here 8-)) http://ellislab.com/forums/viewthread/92415/ there is a test post that shows how this EE-based forum properly handles smileys in a case where the current smiley parser fails to meet "expected behaviour".

smiley like a wink Wink that doesn't have a space in front of it is turned into a smiley by the CI function but not the forums see... xWink

my suggestion was to add a space to the str_replace() function but dmorin pointed out it would then fail if the smiley were put as the first char of the string!

conclusion... EE forum uses a more advanced smiley parser and might be added to CI core to address entities problem.

WinkWinkWink

EDIT: you might name this bug the "ambiguously undelimited smiley parser bug"


Messages In This Thread
parse_smileys and HTML entities bug - by El Forum - 10-01-2008, 08:29 AM
parse_smileys and HTML entities bug - by El Forum - 10-01-2008, 09:55 AM
parse_smileys and HTML entities bug - by El Forum - 10-01-2008, 10:44 AM
parse_smileys and HTML entities bug - by El Forum - 10-01-2008, 10:53 AM
parse_smileys and HTML entities bug - by El Forum - 10-01-2008, 11:14 AM
parse_smileys and HTML entities bug - by El Forum - 10-07-2008, 10:56 AM
parse_smileys and HTML entities bug - by El Forum - 10-07-2008, 01:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB