version 1.168, 2011/05/17 11:34:31 |
version 1.170, 2011/06/16 22:21:28 |
Line 1171 mdoc_sx_pre(MDOC_ARGS) |
|
Line 1171 mdoc_sx_pre(MDOC_ARGS) |
|
struct htmlpair tag[2]; |
struct htmlpair tag[2]; |
|
|
bufinit(h); |
bufinit(h); |
|
bufcat(h, "#x"); |
for (n = n->child; n; n = n->next) { |
for (n = n->child; n; n = n->next) { |
bufcat_id(h, n->string); |
bufcat_id(h, n->string); |
if (n->next) |
if (n->next) |
Line 1665 mdoc_lk_pre(MDOC_ARGS) |
|
Line 1666 mdoc_lk_pre(MDOC_ARGS) |
|
|
|
print_otag(h, TAG_A, 2, tag); |
print_otag(h, TAG_A, 2, tag); |
|
|
for (n = n->next; n; n = n->next) { |
if (NULL == n->next) |
assert(MDOC_TEXT == n->type); |
|
print_text(h, n->string); |
print_text(h, n->string); |
} |
|
|
for (n = n->next; n; n = n->next) |
|
print_text(h, n->string); |
|
|
return(0); |
return(0); |
} |
} |