Revision 333 src/html.c
| html.c (revision 333) | ||
|---|---|---|
| 541 | 541 |
parser->bufp = p + 3; |
| 542 | 542 |
return; |
| 543 | 543 |
} |
| 544 |
if (!g_strncasecmp(parser->bufp, "<style", 6)) {
|
|
| 544 |
if (!g_ascii_strncasecmp(parser->bufp, "<style", 6)) {
|
|
| 545 | 545 |
parser->bufp += 6; |
| 546 | 546 |
while ((p = strcasestr(parser->bufp, "</style>")) == NULL) |
| 547 | 547 |
if (html_read_line(parser) == HTML_EOF) return; |
| 548 | 548 |
parser->bufp = p + 8; |
| 549 | 549 |
return; |
| 550 | 550 |
} |
| 551 |
if (!g_strncasecmp(parser->bufp, "<script", 7)) {
|
|
| 551 |
if (!g_ascii_strncasecmp(parser->bufp, "<script", 7)) {
|
|
| 552 | 552 |
parser->bufp += 7; |
| 553 | 553 |
while ((p = strcasestr(parser->bufp, "</script>")) == NULL) |
| 554 | 554 |
if (html_read_line(parser) == HTML_EOF) return; |
Also available in: Unified diff