diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-02 06:22:44 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-02 06:22:44 +0000 |
commit | a39b97ef0c1432973b5d815709925a82507c100b (patch) | |
tree | 9ca38e01caeb3a842bd0520375f0e52e83099515 /html.c | |
parent | f50364828978249af6c0a2c5e92ee923b8d86c75 (diff) | |
download | mandoc-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |