diff options
-rw-r--r-- | TODO | 7 | ||||
-rw-r--r-- | html.c | 6 | ||||
-rw-r--r-- | term.c | 4 |
3 files changed, 9 insertions, 8 deletions
@@ -1,6 +1,6 @@ ************************************************************************ * Official mandoc TODO. -* $Id: TODO,v 1.105 2011/05/18 09:45:21 kristaps Exp $ +* $Id: TODO,v 1.106 2011/05/18 23:59:08 kristaps Exp $ ************************************************************************ ************************************************************************ @@ -56,11 +56,6 @@ - \c (interrupted text) occurs in chat(8) -- \f(CW (constant width font) occurs in rsyncd.conf(5). - I think we should treat unknown/unavailable fonts as \fR - such that switching back with \fP works correctly - - and doesn't revert the _previous_ \fP. - --- missing mdoc features ---------------------------------------------- - fix bad block nesting involving multiple identical explicit blocks @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.144 2011/05/17 11:50:20 kristaps Exp $ */ +/* $Id: html.c,v 1.145 2011/05/18 23:59:08 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -272,6 +272,8 @@ print_metaf(struct html *h, enum mandoc_esc deco) case (ESCAPE_FONTBOLD): font = HTMLFONT_BOLD; break; + case (ESCAPE_FONT): + /* FALLTHROUGH */ case (ESCAPE_FONTROMAN): font = HTMLFONT_NONE; break; @@ -392,6 +394,8 @@ print_encode(struct html *h, const char *p, int norecurse) case (ESCAPE_SPECIAL): print_spec(h, seq, len); break; + case (ESCAPE_FONT): + /* FALLTHROUGH */ case (ESCAPE_FONTPREV): /* FALLTHROUGH */ case (ESCAPE_FONTBOLD): @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.194 2011/05/17 22:32:45 kristaps Exp $ */ +/* $Id: term.c,v 1.195 2011/05/18 23:59:08 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -471,6 +471,8 @@ term_word(struct termp *p, const char *word) case (ESCAPE_FONTITALIC): term_fontrepl(p, TERMFONT_UNDER); break; + case (ESCAPE_FONT): + /* FALLTHROUGH */ case (ESCAPE_FONTROMAN): term_fontrepl(p, TERMFONT_NONE); break; |