=================================================================== RCS file: /cvs/mandoc/html.c,v retrieving revision 1.161 retrieving revision 1.163 diff -u -p -r1.161 -r1.163 --- mandoc/html.c 2014/08/13 15:25:22 1.161 +++ mandoc/html.c 2014/08/14 00:31:43 1.163 @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.161 2014/08/13 15:25:22 schwarze Exp $ */ +/* $Id: html.c,v 1.163 2014/08/14 00:31:43 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze @@ -74,7 +74,6 @@ static const struct htmldata htmltags[TAG_MAX] = { {"i", 0 }, /* TAG_I */ {"code", 0 }, /* TAG_CODE */ {"small", 0 }, /* TAG_SMALL */ - {"em", 0 }, /* TAG_EM */ }; static const char *const htmlattrs[ATTR_MAX] = { @@ -760,6 +759,8 @@ bufcat_su(struct html *h, const char *p, const struct v = su->scale; if (SCALE_MM == su->unit && 0.0 == (v /= 100.0)) v = 1.0; + else if (SCALE_BU == su->unit) + v /= 24.0; bufcat_fmt(h, "%s: %.2f%s;", p, v, roffscales[su->unit]); }