=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_html.c,v retrieving revision 1.57 retrieving revision 1.58 diff -c -r1.57 -r1.58 *** src/usr.bin/mandoc/mdoc_html.c 2011/05/29 21:22:18 1.57 --- src/usr.bin/mandoc/mdoc_html.c 2011/06/18 12:40:57 1.58 *************** *** 1,4 **** ! /* $Id: mdoc_html.c,v 1.57 2011/05/29 21:22:18 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * --- 1,4 ---- ! /* $Id: mdoc_html.c,v 1.58 2011/06/18 12:40:57 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * *************** *** 1662,1671 **** print_otag(h, TAG_A, 2, tag); ! for (n = n->next; n; n = n->next) { ! assert(MDOC_TEXT == n->type); print_text(h, n->string); ! } return(0); } --- 1662,1672 ---- print_otag(h, TAG_A, 2, tag); ! if (NULL == n->next) print_text(h, n->string); ! ! for (n = n->next; n; n = n->next) ! print_text(h, n->string); return(0); }