version 1.339, 2020/04/18 20:40:10 |
version 1.340, 2020/04/19 15:16:56 |
Line 695 mdoc_tg_pre(MDOC_ARGS) |
|
Line 695 mdoc_tg_pre(MDOC_ARGS) |
|
{ |
{ |
char *id; |
char *id; |
|
|
if ((id = html_make_id(n, 1)) != NULL) |
if ((id = html_make_id(n, 1)) != NULL) { |
print_tagq(h, print_otag(h, TAG_MARK, "i", id)); |
print_tagq(h, print_otag(h, TAG_MARK, "i", id)); |
|
free(id); |
|
} |
return 0; |
return 0; |
} |
} |
|
|
Line 1211 mdoc_skip_pre(MDOC_ARGS) |
|
Line 1213 mdoc_skip_pre(MDOC_ARGS) |
|
static int |
static int |
mdoc_pp_pre(MDOC_ARGS) |
mdoc_pp_pre(MDOC_ARGS) |
{ |
{ |
|
char *id; |
|
|
if (n->flags & NODE_NOFILL) { |
if (n->flags & NODE_NOFILL) { |
print_endline(h); |
print_endline(h); |
if (n->flags & NODE_ID) |
if (n->flags & NODE_ID) |
Line 1221 mdoc_pp_pre(MDOC_ARGS) |
|
Line 1225 mdoc_pp_pre(MDOC_ARGS) |
|
} |
} |
} else { |
} else { |
html_close_paragraph(h); |
html_close_paragraph(h); |
print_otag(h, TAG_P, "ci", "Pp", |
id = n->flags & NODE_ID ? html_make_id(n, 1) : NULL; |
n->flags & NODE_ID ? html_make_id(n, 1) : NULL); |
print_otag(h, TAG_P, "ci", "Pp", id); |
|
free(id); |
} |
} |
return 0; |
return 0; |
} |
} |