Mercurial > pidgin.yaz
comparison src/gtkhtml.c @ 732:6609b5a16b38
[gaim-migrate @ 742]
Added support for the S tag.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Mon, 21 Aug 2000 20:26:56 +0000 |
parents | 8e7ad10b5f26 |
children | c3a920cee3fc |
comparison
equal
deleted
inserted
replaced
731:3e1e809b968b | 732:6609b5a16b38 |
---|---|
3203 if (intag) | 3203 if (intag) |
3204 { | 3204 { |
3205 tag[tpos] = 0; | 3205 tag[tpos] = 0; |
3206 if (!strcasecmp(tag, "B")) | 3206 if (!strcasecmp(tag, "B")) |
3207 bold = 1; | 3207 bold = 1; |
3208 else if (!strcasecmp(tag, "STRIKE")) | 3208 else if (!strcasecmp(tag, "STRIKE") || !strcasecmp(tag, "S")) |
3209 strike = 1; | 3209 strike = 1; |
3210 else if (!strcasecmp(tag, "I")) | 3210 else if (!strcasecmp(tag, "I")) |
3211 italic = 1; | 3211 italic = 1; |
3212 else if (!strcasecmp(tag, "U")) | 3212 else if (!strcasecmp(tag, "U")) |
3213 uline = 1; | 3213 uline = 1; |
3215 fixed = 1; | 3215 fixed = 1; |
3216 else if (!strcasecmp(tag, "HR")) | 3216 else if (!strcasecmp(tag, "HR")) |
3217 gtk_html_add_seperator(html); | 3217 gtk_html_add_seperator(html); |
3218 else if (!strcasecmp(tag, "/B")) | 3218 else if (!strcasecmp(tag, "/B")) |
3219 bold = 0; | 3219 bold = 0; |
3220 else if (!strcasecmp(tag, "/STRIKE")) | 3220 else if (!strcasecmp(tag, "/STRIKE") || !strcasecmp(tag, "/S")) |
3221 strike = 0; | 3221 strike = 0; |
3222 else if (!strcasecmp(tag, "/I")) | 3222 else if (!strcasecmp(tag, "/I")) |
3223 italic = 0; | 3223 italic = 0; |
3224 else if (!strcasecmp(tag, "/U")) | 3224 else if (!strcasecmp(tag, "/U")) |
3225 uline = 0; | 3225 uline = 0; |