version 1.214, 2020/04/18 20:28:46 |
version 1.215, 2020/04/19 15:15:54 |
|
|
{ |
{ |
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; |
} |
} |
|
|
|
|
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) |
|
|
} |
} |
} 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; |
} |
} |