version 1.307, 2018/06/25 13:45:57 |
version 1.310, 2018/07/27 17:49:31 |
|
|
#include "html.h" |
#include "html.h" |
#include "main.h" |
#include "main.h" |
|
|
#define INDENT 5 |
|
|
|
#define MDOC_ARGS const struct roff_meta *meta, \ |
#define MDOC_ARGS const struct roff_meta *meta, \ |
struct roff_node *n, \ |
struct roff_node *n, \ |
struct html *h |
struct html *h |
Line 719 mdoc_it_pre(MDOC_ARGS) |
|
Line 717 mdoc_it_pre(MDOC_ARGS) |
|
break; |
break; |
case ROFFT_BODY: |
case ROFFT_BODY: |
if (n->child == NULL) { |
if (n->child == NULL) { |
print_otag(h, TAG_DD, "ss?", |
print_otag(h, TAG_DD, "s", "width", "auto"); |
"width", "auto"); |
|
print_text(h, "\\ "); |
print_text(h, "\\ "); |
} else |
} else |
print_otag(h, TAG_DD, ""); |
print_otag(h, TAG_DD, ""); |
Line 1175 mdoc_fn_pre(MDOC_ARGS) |
|
Line 1172 mdoc_fn_pre(MDOC_ARGS) |
|
|
|
for (n = n->child->next; n; n = n->next) { |
for (n = n->child->next; n; n = n->next) { |
if (NODE_SYNPRETTY & n->flags) |
if (NODE_SYNPRETTY & n->flags) |
t = print_otag(h, TAG_VAR, "cTss?", "Fa", |
t = print_otag(h, TAG_VAR, "cTs", "Fa", |
"white-space", "nowrap"); |
"white-space", "nowrap"); |
else |
else |
t = print_otag(h, TAG_VAR, "cT", "Fa"); |
t = print_otag(h, TAG_VAR, "cT", "Fa"); |
Line 1416 mdoc_bf_pre(MDOC_ARGS) |
|
Line 1413 mdoc_bf_pre(MDOC_ARGS) |
|
cattr = "Bf No"; |
cattr = "Bf No"; |
|
|
/* Cannot use TAG_SPAN because it may contain blocks. */ |
/* Cannot use TAG_SPAN because it may contain blocks. */ |
print_otag(h, TAG_DIV, "cshl", cattr, 1); |
print_otag(h, TAG_DIV, "c", cattr); |
return 1; |
return 1; |
} |
} |
|
|