# HG changeset patch # User Sean Egan # Date 1091397633 0 # Node ID 53e3c74b362849e1b7053163a8b4ed6c3a5455de # Parent 8ad07c6f65226729d4e71c5ea96bcdb2da95878e [gaim-migrate @ 10480] [ 807004 ] Graphical smiley substitution too eager committer: Tailor Script diff -r 8ad07c6f6522 -r 53e3c74b3628 src/gtkimhtml.c --- a/src/gtkimhtml.c Sun Aug 01 18:32:03 2004 +0000 +++ b/src/gtkimhtml.c Sun Aug 01 22:00:33 2004 +0000 @@ -1460,6 +1460,10 @@ x += alen - strlen(amp); pos = strchr (t->values->str, *amp); } + else if (*x == '<') /* Because we're all WYSIWYG now, a '<' + * char should only appear as the start of a tag. Perhaps a safer (but costlier) + * check would be to call gtk_imhtml_is_tag on it */ + return 0; else pos = strchr (t->values->str, *x);