version 1.146, 2011/01/25 15:28:56 |
version 1.147, 2011/01/25 15:46:05 |
|
|
mdoc_bx_pre(MDOC_ARGS) |
mdoc_bx_pre(MDOC_ARGS) |
{ |
{ |
struct htmlpair tag; |
struct htmlpair tag; |
char buf[3]; |
|
|
|
PAIR_CLASS_INIT(&tag, "unix"); |
PAIR_CLASS_INIT(&tag, "unix"); |
print_otag(h, TAG_SPAN, 1, &tag); |
print_otag(h, TAG_SPAN, 1, &tag); |
Line 848 mdoc_bx_pre(MDOC_ARGS) |
|
Line 847 mdoc_bx_pre(MDOC_ARGS) |
|
} |
} |
|
|
if (NULL != (n = n->next)) { |
if (NULL != (n = n->next)) { |
buf[0] = '-'; |
|
buf[1] = toupper((unsigned char)*n->string); |
|
buf[2] = '\0'; |
|
|
|
h->flags |= HTML_NOSPACE; |
h->flags |= HTML_NOSPACE; |
print_text(h, buf); |
print_text(h, "-"); |
h->flags |= HTML_NOSPACE; |
h->flags |= HTML_NOSPACE; |
print_text(h, n->string + 1); |
print_text(h, n->string); |
} |
} |
|
|
return(0); |
return(0); |