version 1.167, 2019/01/07 07:26:29 |
version 1.168, 2019/01/11 12:56:43 |
Line 299 man_SH_pre(MAN_ARGS) |
|
Line 299 man_SH_pre(MAN_ARGS) |
|
case ROFFT_HEAD: |
case ROFFT_HEAD: |
id = html_make_id(n, 1); |
id = html_make_id(n, 1); |
if (n->tok == MAN_SH) |
if (n->tok == MAN_SH) |
print_otag(h, TAG_H1, "cTi", "Sh", id); |
print_otag(h, TAG_H1, "ci", "Sh", id); |
else |
else |
print_otag(h, TAG_H2, "cTi", "Ss", id); |
print_otag(h, TAG_H2, "ci", "Ss", id); |
if (id != NULL) |
if (id != NULL) |
print_otag(h, TAG_A, "chR", "permalink", id); |
print_otag(h, TAG_A, "chR", "permalink", id); |
break; |
break; |
Line 513 man_SY_pre(MAN_ARGS) |
|
Line 513 man_SY_pre(MAN_ARGS) |
|
break; |
break; |
case ROFFT_HEAD: |
case ROFFT_HEAD: |
print_otag(h, TAG_TD, ""); |
print_otag(h, TAG_TD, ""); |
print_otag(h, TAG_CODE, "cT", "Nm"); |
print_otag(h, TAG_CODE, "c", "Nm"); |
break; |
break; |
case ROFFT_BODY: |
case ROFFT_BODY: |
print_otag(h, TAG_TD, ""); |
print_otag(h, TAG_TD, ""); |
Line 535 man_UR_pre(MAN_ARGS) |
|
Line 535 man_UR_pre(MAN_ARGS) |
|
assert(n->child->type == ROFFT_TEXT); |
assert(n->child->type == ROFFT_TEXT); |
if (n->tok == MAN_MT) { |
if (n->tok == MAN_MT) { |
mandoc_asprintf(&cp, "mailto:%s", n->child->string); |
mandoc_asprintf(&cp, "mailto:%s", n->child->string); |
print_otag(h, TAG_A, "cTh", "Mt", cp); |
print_otag(h, TAG_A, "ch", "Mt", cp); |
free(cp); |
free(cp); |
} else |
} else |
print_otag(h, TAG_A, "cTh", "Lk", n->child->string); |
print_otag(h, TAG_A, "ch", "Lk", n->child->string); |
} |
} |
|
|
assert(n->next->type == ROFFT_BODY); |
assert(n->next->type == ROFFT_BODY); |