summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.c b/html.c
index 8b6279f5..7a18c976 100644
--- a/html.c
+++ b/html.c
@@ -262,6 +262,9 @@ print_encode(struct html *h, const char *p)
}
p += len - 1;
+
+ if (DECO_NOSPACE == deco && '\0' == *(p + 1))
+ h->flags |= HTML_NOSPACE;
}
}