=================================================================== RCS file: /cvs/mandoc/html.c,v retrieving revision 1.260 retrieving revision 1.261 diff -u -p -r1.260 -r1.261 --- mandoc/html.c 2019/09/03 18:08:02 1.260 +++ mandoc/html.c 2019/09/05 13:35:04 1.261 @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.260 2019/09/03 18:08:02 schwarze Exp $ */ +/* $Id: html.c,v 1.261 2019/09/05 13:35:04 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011-2015, 2017-2019 Ingo Schwarze @@ -968,15 +968,12 @@ print_indent(struct html *h) { size_t i; - if (h->col) + if (h->col || h->noindent) return; - if (h->noindent == 0) { - h->col = h->indent * 2; - for (i = 0; i < h->col; i++) - putchar(' '); - } - h->flags &= ~HTML_NOSPACE; + h->col = h->indent * 2; + for (i = 0; i < h->col; i++) + putchar(' '); } /*