-/* $Id: mdoc_html.c,v 1.169 2011/05/17 11:38:18 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.170 2011/06/16 22:21:28 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
print_otag(h, TAG_A, 2, tag);
- for (n = n->next; n; n = n->next) {
- assert(MDOC_TEXT == n->type);
+ if (NULL == n->next)
+ print_text(h, n->string);
+
+ for (n = n->next; n; n = n->next)
print_text(h, n->string);
- }
return(0);
}