"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mdoc_html.c" between
mdocml-1.14.1rc1.tar.gz and mdocml-1.14.1rc2.tar.gz

About: mdocml is a suite of tools compiling "-mdoc", the roff macro package of choice for BSD manual pages, and "-man", the predominant historical package for UNIX manuals. Hint: The installed binary name is "mandoc". Release candidate.

mdoc_html.c  (mdocml-1.14.1rc1):mdoc_html.c  (mdocml-1.14.1rc2)
/* $Id: mdoc_html.c,v 1.270 2017/02/06 03:44:58 schwarze Exp $ */ /* $Id: mdoc_html.c,v 1.271 2017/02/16 03:00:23 schwarze Exp $ */
/* /*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
* *
* Permission to use, copy, modify, and distribute this software for any * Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies. * copyright notice and this permission notice appear in all copies.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
skipping to change at line 419 skipping to change at line 419
switch (n->type) { switch (n->type) {
case ROFFT_EQN: case ROFFT_EQN:
break; break;
default: default:
if ( ! mdocs[n->tok].post || n->flags & NODE_ENDED) if ( ! mdocs[n->tok].post || n->flags & NODE_ENDED)
break; break;
(*mdocs[n->tok].post)(meta, n, h); (*mdocs[n->tok].post)(meta, n, h);
if (n->end != ENDBODY_NOT) if (n->end != ENDBODY_NOT)
n->body->flags |= NODE_ENDED; n->body->flags |= NODE_ENDED;
if (n->end == ENDBODY_NOSPACE)
h->flags |= HTML_NOSPACE;
break; break;
} }
} }
static void static void
mdoc_root_post(MDOC_ARGS) mdoc_root_post(MDOC_ARGS)
{ {
struct tag *t, *tt; struct tag *t, *tt;
t = print_otag(h, TAG_TABLE, "c", "foot"); t = print_otag(h, TAG_TABLE, "c", "foot");
 End of changes. 2 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS