Mercurial > pidgin
comparison src/html.c @ 4473:7b0f6537da75
[gaim-migrate @ 4748]
Paul Miller writes:
"Small patch for the strip_html() function (in html.c) to replace "
with a quote. "
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Thu, 30 Jan 2003 18:08:04 +0000 |
| parents | 5fb47ec9bfe4 |
| children | fdc4ac6d1db1 |
comparison
equal
deleted
inserted
replaced
| 4472:e73c4e8e2d03 | 4473:7b0f6537da75 |
|---|---|
| 66 } | 66 } |
| 67 } else if (text2[i] == '>' && !visible) { | 67 } else if (text2[i] == '>' && !visible) { |
| 68 visible = 1; | 68 visible = 1; |
| 69 continue; | 69 continue; |
| 70 } | 70 } |
| 71 if (text2[i] == '&' && strncasecmp(text2+i,""",6) == 0) { | |
| 72 text2[j++] = '\"'; | |
| 73 i = i+5; | |
| 74 continue; | |
| 75 } | |
| 71 if (visible) { | 76 if (visible) { |
| 72 text2[j++] = text2[i]; | 77 text2[j++] = text2[i]; |
| 73 } | 78 } |
| 74 } | 79 } |
| 75 text2[j] = '\0'; | 80 text2[j] = '\0'; |
