[gaim-migrate @ 4748]

Thu, 30 Jan 2003 18:08:04 +0000

author
Paul Miller
date
Thu, 30 Jan 2003 18:08:04 +0000
changeset 4473
ee927fea59c2
parent 4472
4c2abef133eb
child 4474
cd0ace00b67a

[gaim-migrate @ 4748]
Paul Miller writes:
"Small patch for the strip_html() function (in html.c) to replace "
with a quote. "

committer: Luke Schierer <lschiere@pidgin.im>

src/html.c file | annotate | diff | comparison | revisions
--- a/src/html.c	Thu Jan 30 15:15:15 2003 +0000
+++ b/src/html.c	Thu Jan 30 18:08:04 2003 +0000
@@ -68,6 +68,11 @@
 			visible = 1;
 			continue;
 		}
+		if (text2[i] == '&' && strncasecmp(text2+i,"&quot;",6) == 0) {
+		    text2[j++] = '\"';
+		    i = i+5;
+		    continue;
+		}
 		if (visible) {
 			text2[j++] = text2[i];
 		}

mercurial