diff --git a/src/util/webster.c b/src/util/webster.c index f76da32..737e54b 100755 --- a/src/util/webster.c +++ b/src/util/webster.c @@ -76,15 +76,17 @@ void parse_webster_html(char *arg) { strncpy(scanbuf, p, sizeof(scanbuf)); // strtok on a copy. - p = strtok(scanbuf, ">"); // chop the line at the end of tags:
word becomes "
" "" "word" - while (p != NULL) + p = strtok(scanbuf, ">"); // chop the line at the end of tags:
word becomes "", 4) || !strncmp(p, "

", 3) || !strncmp(p, "

", 24) || !strncmp(p, "
", 25)) + } + if (!strncmp(p, " tag or a
or
tag, ignore it.