diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-26 14:03:54 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-26 14:03:54 +0000 |
commit | b3536e4d2b9fcb0daf7141c545883a7d2b442e33 (patch) | |
tree | 0a8d32a41e44b15218981b5a3d71ddba079e7c69 /man_html.c | |
parent | 878d84055a253f63524c12172dd09c9044ad0afd (diff) | |
download | mandoc-b3536e4d2b9fcb0daf7141c545883a7d2b442e33.tar.gz |
Allow bad -man dates to flow verbatim into the front-ends. Noted by
Ulrich Spoerlein.
Diffstat (limited to 'man_html.c')
-rw-r--r-- | man_html.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -308,7 +308,10 @@ man_root_post(MAN_ARGS) struct tag *t, *tt; char b[DATESIZ]; - time2a(m->date, b, DATESIZ); + if (m->rawdate) + strlcpy(b, m->rawdate, DATESIZ); + else + time2a(m->date, b, DATESIZ); PAIR_CLASS_INIT(&tag[0], "footer"); bufcat_style(h, "width", "100%"); |