From: Luke S. <lsc...@us...> - 2003-01-30 18:08:09
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1:/tmp/cvs-serv11091/src Modified Files: html.c Log Message: Paul Miller writes: "Small patch for the strip_html() function (in html.c) to replace " with a quote. " Index: html.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/html.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- html.c 20 Jan 2003 09:10:06 -0000 1.31 +++ html.c 30 Jan 2003 18:08:04 -0000 1.32 @@ -68,6 +68,11 @@ visible = 1; continue; } + if (text2[i] == '&' && strncasecmp(text2+i,""",6) == 0) { + text2[j++] = '\"'; + i = i+5; + continue; + } if (visible) { text2[j++] = text2[i]; } |