summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/html.c b/html.c
index f5411bb3..f8ae7fb2 100644
--- a/html.c
+++ b/html.c
@@ -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(' ');
}
/*