version 1.178, 2011/11/18 14:58:24 |
version 1.180, 2011/12/02 01:37:14 |
Line 1693 post_rs(POST_ARGS) |
|
Line 1693 post_rs(POST_ARGS) |
|
mdoc_node_delete(mdoc, nn); |
mdoc_node_delete(mdoc, nn); |
} |
} |
|
|
/* Bail out early if a plain text node is found inside .Rs. */ |
/* |
|
* Nothing to sort if only invalid nodes were found |
|
* inside the `Rs' body. |
|
*/ |
|
|
if (NULL == mdoc->last->child) |
if (NULL == mdoc->last->child) |
return(1); |
return(1); |
|
|
Line 2080 post_dt(POST_ARGS) |
|
Line 2084 post_dt(POST_ARGS) |
|
* arch = NULL |
* arch = NULL |
*/ |
*/ |
|
|
cp = mdoc_a2msec(nn->string); |
cp = mandoc_a2msec(nn->string); |
if (cp) { |
if (cp) { |
mdoc->meta.vol = mandoc_strdup(cp); |
mdoc->meta.vol = mandoc_strdup(cp); |
mdoc->meta.msec = mandoc_strdup(nn->string); |
mdoc->meta.msec = mandoc_strdup(nn->string); |