Mercurial > pidgin
changeset 9636:53e3c74b3628
[gaim-migrate @ 10480]
[ 807004 ] Graphical smiley substitution too eager
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 01 Aug 2004 22:00:33 +0000 |
parents | 8ad07c6f6522 |
children | 6c44a5d7cf54 |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);