=================================================================== RCS file: /cvs/mandoc/man_html.c,v retrieving revision 1.31 retrieving revision 1.44 diff -u -p -r1.31 -r1.44 --- mandoc/man_html.c 2010/05/15 15:54:39 1.31 +++ mandoc/man_html.c 2010/07/22 23:53:54 1.44 @@ -1,6 +1,6 @@ -/* $Id: man_html.c,v 1.31 2010/05/15 15:54:39 kristaps Exp $ */ +/* $Id: man_html.c,v 1.44 2010/07/22 23:53:54 kristaps Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -26,6 +26,7 @@ #include #include +#include "mandoc.h" #include "out.h" #include "html.h" #include "man.h" @@ -106,12 +107,8 @@ static const struct htmlman mans[MAN_MAX] = { { man_br_pre, NULL }, /* Sp */ { man_ign_pre, NULL }, /* Vb */ { NULL, NULL }, /* Ve */ - { man_ign_pre, NULL }, /* de */ - { man_ign_pre, NULL }, /* dei */ - { man_ign_pre, NULL }, /* am */ - { man_ign_pre, NULL }, /* ami */ - { man_ign_pre, NULL }, /* ig */ - { NULL, NULL }, /* . */ + { man_ign_pre, NULL }, /* AT */ + { NULL, NULL }, /* in */ }; @@ -312,7 +309,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%");