projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
adf22c7
)
make 'ignore css tags' case-insensitive
author
Paul Mangan
<paul@claws-mail.org>
Thu, 25 Oct 2001 08:57:37 +0000
(08:57 +0000)
committer
Paul Mangan
<paul@claws-mail.org>
Thu, 25 Oct 2001 08:57:37 +0000
(08:57 +0000)
src/html.c
patch
|
blob
|
history
diff --git
a/src/html.c
b/src/html.c
index 9124c1be0ec90ef292937071757c9c9a67a009bf..a74f24d808ea3c0763d84d1c0c2a594f775872f8 100644
(file)
--- a/
src/html.c
+++ b/
src/html.c
@@
-652,9
+652,9
@@
static void html_get_parenthesis(HTMLParser *parser, gchar *buf, gint len)
return;
}
/* ignore css stuff */
- if (!
strn
cmp(parser->bufp, "<STYLE type=text/css>", 21)) {
+ if (!
g_strncase
cmp(parser->bufp, "<STYLE type=text/css>", 21)) {
parser->bufp += 21;
- while ((p = strstr(parser->bufp, "</STYLE>")) == NULL)
+ while ((p = str
case
str(parser->bufp, "</STYLE>")) == NULL)
if (html_read_line(parser) == HTML_EOF) return;
parser->bufp = p + 8;
return;