mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-01 15:08:49 +01:00
updated, non-tested version
This commit is contained in:
parent
bfe37407d0
commit
7e5ad046f2
1 changed files with 3 additions and 3 deletions
|
|
@ -107,13 +107,13 @@ void parse_webster_html(char *arg) {
|
|||
q = outline;
|
||||
|
||||
while (*p != '<')
|
||||
q++ = p++;
|
||||
*q++ = p++;
|
||||
|
||||
if (!strncmp(p, "<td ", 4))
|
||||
q++ = '\n';
|
||||
*q++ = '\n';
|
||||
// if it's not a <td> tag, ignore it.
|
||||
|
||||
q++='\0';
|
||||
*q++='\0';
|
||||
fprintf(outfile, "%s", outline);
|
||||
|
||||
if (!strncmp(p, "</table>", 8))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue