version 1.328, 2019/03/01 10:57:18 |
version 1.330, 2019/09/03 15:09:44 |
Line 653 mdoc_nd_pre(MDOC_ARGS) |
|
Line 653 mdoc_nd_pre(MDOC_ARGS) |
|
{ |
{ |
switch (n->type) { |
switch (n->type) { |
case ROFFT_BLOCK: |
case ROFFT_BLOCK: |
html_close_paragraph(h); |
|
return 1; |
return 1; |
case ROFFT_HEAD: |
case ROFFT_HEAD: |
return 0; |
return 0; |
Line 663 mdoc_nd_pre(MDOC_ARGS) |
|
Line 662 mdoc_nd_pre(MDOC_ARGS) |
|
abort(); |
abort(); |
} |
} |
print_text(h, "\\(em"); |
print_text(h, "\\(em"); |
/* Cannot use TAG_SPAN because it may contain blocks. */ |
print_otag(h, TAG_SPAN, "c", "Nd"); |
print_otag(h, TAG_DIV, "c", "Nd"); |
|
return 1; |
return 1; |
} |
} |
|
|
Line 1700 mdoc_quote_pre(MDOC_ARGS) |
|
Line 1698 mdoc_quote_pre(MDOC_ARGS) |
|
/* |
/* |
* Give up on semantic markup for now. |
* Give up on semantic markup for now. |
* We cannot use TAG_SPAN because .Oo may contain blocks. |
* We cannot use TAG_SPAN because .Oo may contain blocks. |
* We cannot use TAG_IDIV because we might be in a |
* We cannot use TAG_DIV because we might be in a |
* phrasing context (like .Dl or .Pp); we cannot |
* phrasing context (like .Dl or .Pp); we cannot |
* close out a .Pp at this point either because |
* close out a .Pp at this point either because |
* that would break the line. |
* that would break the line. |