summaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-02 06:22:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-02 06:22:44 +0000
commita39b97ef0c1432973b5d815709925a82507c100b (patch)
tree9ca38e01caeb3a842bd0520375f0e52e83099515 /html.c
parentf50364828978249af6c0a2c5e92ee923b8d86c75 (diff)
downloadmandoc-a39b97ef0c1432973b5d815709925a82507c100b.tar.gz
mandoc-a39b97ef0c1432973b5d815709925a82507c100b.tar.zst
mandoc-a39b97ef0c1432973b5d815709925a82507c100b.zip
Added mandoc_a2time() for proper date conversion.
Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc.
Diffstat (limited to 'html.c')
-rw-r--r--html.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/html.c b/html.c
index 7433479f..5f921ad7 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.79 2009/11/01 15:34:44 kristaps Exp $ */
+/* $Id: html.c,v 1.80 2009/11/02 06:22:44 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -322,7 +322,8 @@ print_encode(struct html *h, const char *p)
sz = strcspn(p, "\\<>&");
fwrite(p, 1, sz, stdout);
- p += (int)sz;
+ p += /* LINTED */
+ sz;
if ('\\' == *p) {
print_escape(h, &p);