changeset 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 3e1e809b968b
children 8f3bcde94e2c
files ChangeLog src/gtkhtml.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Aug 21 18:52:59 2000 +0000
+++ b/ChangeLog	Mon Aug 21 20:26:56 2000 +0000
@@ -20,7 +20,8 @@
 	  as. For example, if your buddy's SN is 'CouldntGetMyName', you can
 	  alias him as 'Loser'.
 	* Added GNOME Url Handler as an available web-browser 
-	
+	* Added the S html tag. 		
+
 version 0.9.20 (07/14/2000):
 	* More plugin events, more plugin features
 	* French (fr), Spanish (es), Simplified Chinese (zh_CN), Korean (kr)
--- a/src/gtkhtml.c	Mon Aug 21 18:52:59 2000 +0000
+++ b/src/gtkhtml.c	Mon Aug 21 20:26:56 2000 +0000
@@ -3205,7 +3205,7 @@
 				tag[tpos] = 0;
 				if (!strcasecmp(tag, "B"))
 					bold = 1;
-				else if (!strcasecmp(tag, "STRIKE"))
+				else if (!strcasecmp(tag, "STRIKE") || !strcasecmp(tag, "S"))
 					strike = 1;
 				else if (!strcasecmp(tag, "I"))
 					italic = 1;
@@ -3217,7 +3217,7 @@
 					gtk_html_add_seperator(html);
 				else if (!strcasecmp(tag, "/B"))
 					bold = 0;
-				else if (!strcasecmp(tag, "/STRIKE"))
+				else if (!strcasecmp(tag, "/STRIKE") || !strcasecmp(tag, "/S"))
 					strike = 0;
 				else if (!strcasecmp(tag, "/I"))
 					italic = 0;