Changeset 8d24696
- Timestamp:
- Jun 26, 2003, 6:42:09 AM (21 years ago)
- 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:
- 4d42508
- Parents:
- e075479
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
rceb8cfb r8d24696 26 26 Fixed bug causing buddies not to be added to buddy list during 27 27 ingorelogin timer 28 Translate < > & " &ensp, &emsp, &endash and 29 &emdash 28 30 29 31 2.0.4-pre-1 -
text.c
rab31454 r8d24696 135 135 char *owl_text_htmlstrip(char *in) 136 136 { 137 char *ptr1, *end, *ptr2, *ptr3, *out ;137 char *ptr1, *end, *ptr2, *ptr3, *out, *out2; 138 138 139 139 out=owl_malloc(strlen(in)+30); … … 150 150 if (ptr2==NULL) { 151 151 strcat(out, ptr1); 152 return(out);152 break; 153 153 } 154 154 … … 164 164 if (!ptr3) { 165 165 strcat(out, ptr2); 166 return(out);166 break; 167 167 } 168 168 … … 189 189 ptr1=ptr3+1; 190 190 } 191 return(out); 191 192 out2=owl_util_substitute(out, "<", "<"); 193 owl_free(out); 194 out=owl_util_substitute(out2, ">", ">"); 195 owl_free(out2); 196 out2=owl_util_substitute(out, "&", "&"); 197 owl_free(out); 198 out=owl_util_substitute(out2, """, "\""); 199 owl_free(out2); 200 out2=owl_util_substitute(out, " ", " "); 201 owl_free(out); 202 out=owl_util_substitute(out2, " ", " "); 203 owl_free(out2); 204 out2=owl_util_substitute(out, " ", " "); 205 owl_free(out); 206 out=owl_util_substitute(out2, "&endash;", "--"); 207 owl_free(out2); 208 out2=owl_util_substitute(out, "&emdash;", "---"); 209 owl_free(out); 210 211 return(out2); 192 212 } 193 213
Note: See TracChangeset
for help on using the changeset viewer.