changeset 16934:6d99246b1084

Stripping html should replace HR with a newline.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 06 May 2007 21:36:36 +0000
parents a4d9505bd307
children 49f66fab6b31
files libpurple/util.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Sun May 06 18:37:58 2007 +0000
+++ b/libpurple/util.c	Sun May 06 21:36:36 2007 +0000
@@ -1739,6 +1739,7 @@
 				else if (strncasecmp(str2 + i, "<p>", 3) == 0
 				 || strncasecmp(str2 + i, "<tr", 3) == 0
 				 || strncasecmp(str2 + i, "<br", 3) == 0
+				 || strncasecmp(str2 + i, "<hr", 3) == 0
 				 || strncasecmp(str2 + i, "<li", 3) == 0
 				 || strncasecmp(str2 + i, "<div", 4) == 0
 				 || strncasecmp(str2 + i, "</table>", 8) == 0)