|
Lines 1-5
Link Here
|
| 1 |
/* html.c -- html-related utilities. |
1 |
/* html.c -- html-related utilities. |
| 2 |
$Id: html.c,v 1.1.1.3 2006/07/17 16:03:46 espie Exp $ |
2 |
$Id: html.c,v 1.2 2006/07/17 22:29:29 espie Exp $ |
| 3 |
|
3 |
|
| 4 |
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software |
4 |
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software |
| 5 |
Foundation, Inc. |
5 |
Foundation, Inc. |
|
Lines 445-451
Link Here
|
| 445 |
return 0; |
445 |
return 0; |
| 446 |
|
446 |
|
| 447 |
/* Find the end of the previous tag. */ |
447 |
/* Find the end of the previous tag. */ |
| 448 |
while (output_paragraph[check_position-1] != '>' && check_position > 0) |
448 |
while (check_position > 0 && output_paragraph[check_position-1] != '>') |
| 449 |
check_position--; |
449 |
check_position--; |
| 450 |
|
450 |
|
| 451 |
/* Save stuff between tag's end to output_paragraph's end. */ |
451 |
/* Save stuff between tag's end to output_paragraph's end. */ |
|
Lines 462-468
Link Here
|
| 462 |
} |
462 |
} |
| 463 |
|
463 |
|
| 464 |
/* Find the start of the previous tag. */ |
464 |
/* Find the start of the previous tag. */ |
| 465 |
while (output_paragraph[check_position-1] != '<' && check_position > 0) |
465 |
while (check_position > 0 && output_paragraph[check_position-1] != '<') |
| 466 |
check_position--; |
466 |
check_position--; |
| 467 |
|
467 |
|
| 468 |
/* Check to see if this is the tag. */ |
468 |
/* Check to see if this is the tag. */ |