=================================================================== RCS file: /cvs/mandoc/mdoc.c,v retrieving revision 1.163 retrieving revision 1.166 diff -u -p -r1.163 -r1.166 --- mandoc/mdoc.c 2010/08/20 01:02:07 1.163 +++ mandoc/mdoc.c 2010/11/30 13:04:14 1.166 @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.163 2010/08/20 01:02:07 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.166 2010/11/30 13:04:14 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -328,8 +328,6 @@ node_append(struct mdoc *mdoc, struct mdoc_node *p) if ( ! mdoc_valid_pre(mdoc, p)) return(0); - if ( ! mdoc_action_pre(mdoc, p)) - return(0); switch (p->type) { case (MDOC_HEAD): @@ -356,8 +354,6 @@ node_append(struct mdoc *mdoc, struct mdoc_node *p) case (MDOC_TEXT): if ( ! mdoc_valid_post(mdoc)) return(0); - if ( ! mdoc_action_post(mdoc)) - return(0); break; default: break; @@ -691,11 +687,11 @@ mdoc_ptext(struct mdoc *m, int line, char *buf, int of return(0); /* - * Insert a `Pp' in the case of a blank line. Technically, + * Insert a `sp' in the case of a blank line. Technically, * blank lines aren't allowed, but enough manuals assume this * behaviour that we want to work around it. */ - if ( ! mdoc_elem_alloc(m, line, offs, MDOC_Pp, NULL)) + if ( ! mdoc_elem_alloc(m, line, offs, MDOC_sp, NULL)) return(0); m->next = MDOC_NEXT_SIBLING;