summaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-01-30 08:42:20 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-01-30 08:42:20 +0000
commit66ebe1f9ba2377dd926746c825133381d23a755c (patch)
tree7dfa928b6949ed6232826f83a88c0fec8729dc11 /html.c
parent2debde16583c6e330407391e74591b82ec962814 (diff)
downloadmandoc-66ebe1f9ba2377dd926746c825133381d23a755c.tar.gz
mandoc-66ebe1f9ba2377dd926746c825133381d23a755c.tar.zst
mandoc-66ebe1f9ba2377dd926746c825133381d23a755c.zip
Fix in handling Vt in SYNOPSIS with trailing punctuation. Spotted by Joerg Sonnenberger.
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/html.c b/html.c
index a2da5931..b49d336b 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.94 2010/01/30 06:55:56 kristaps Exp $ */
+/* $Id: html.c,v 1.95 2010/01/30 08:42:20 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -312,7 +312,6 @@ print_encode(struct html *h, const char *p, int norecurse)
} else if ('>' == *p) {
printf("&gt;");
continue;
- /* FIXME: already escaped? */
} else if ('&' == *p) {
printf("&amp;");
continue;