Changeset 75e3879


Ignore:
Timestamp:
Jun 1, 2003, 9:46:53 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
651560f
Parents:
3abf28b
Message:
improvments to html stripper
File:
1 edited

Legend:

Unmodified
Added
Removed
  • text.c

    r3abf28b r75e3879  
    159159    if (!ptr3) {
    160160      strcat(out, ptr2);
     161      return(out);
    161162    }
    162163
     
    173174      continue;
    174175    }
     176    if (!strncasecmp(ptr2, "<BR>", 4)) {
     177      strcat(out, "\n");
     178      ptr1=ptr3+1;
     179      continue;
     180    }
    175181
    176182    /* if it wasn't something we know, copy to the > and  go again */
    177     strncat(out, ptr2, ptr3-ptr2);
     183    strncat(out, ptr2, ptr3-ptr2+1);
    178184    ptr1=ptr3+1;
    179185  }
Note: See TracChangeset for help on using the changeset viewer.