updated, non-tested version

This commit is contained in:
Thomas Arp
2008-01-14 00:05:27 +00:00
parent bfe37407d0
commit 7e5ad046f2

View File

@@ -107,13 +107,13 @@ void parse_webster_html(char *arg) {
q = outline; q = outline;
while (*p != '<') while (*p != '<')
q++ = p++; *q++ = p++;
if (!strncmp(p, "<td ", 4)) if (!strncmp(p, "<td ", 4))
q++ = '\n'; *q++ = '\n';
// if it's not a <td> tag, ignore it. // if it's not a <td> tag, ignore it.
q++='\0'; *q++='\0';
fprintf(outfile, "%s", outline); fprintf(outfile, "%s", outline);
if (!strncmp(p, "</table>", 8)) if (!strncmp(p, "</table>", 8))