=================================================================== RCS file: /cvs/mandoc/man_html.c,v retrieving revision 1.173 retrieving revision 1.175 diff -u -p -r1.173 -r1.175 --- mandoc/man_html.c 2019/03/02 16:30:53 1.173 +++ mandoc/man_html.c 2020/02/12 21:15:53 1.175 @@ -1,7 +1,7 @@ -/* $Id: man_html.c,v 1.173 2019/03/02 16:30:53 schwarze Exp $ */ +/* $Id: man_html.c,v 1.175 2020/02/12 21:15:53 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons - * Copyright (c) 2013-2015, 2017-2019 Ingo Schwarze + * Copyright (c) 2013-2015, 2017-2020 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -178,7 +178,7 @@ print_man_node(MAN_ARGS) } if (*n->string == ' ' && n->flags & NODE_LINE && (h->flags & HTML_NONEWLINE) == 0) - print_endline(h); + print_otag(h, TAG_BR, ""); else if (n->flags & NODE_DELIMC) h->flags |= HTML_NOSPACE; t = h->tag; @@ -203,9 +203,9 @@ print_man_node(MAN_ARGS) * Close out scope of font prior to opening a macro * scope. */ - if (HTMLFONT_NONE != h->metac) { + if (h->metac != ESCAPE_FONTROMAN) { h->metal = h->metac; - h->metac = HTMLFONT_NONE; + h->metac = ESCAPE_FONTROMAN; } /*