summaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/html.c b/html.c
index 042f1641..f1a256f1 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.83 2009/11/10 16:32:00 kristaps Exp $ */
+/* $Id: html.c,v 1.84 2009/11/12 08:21:05 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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;
}
}