=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/html.c,v retrieving revision 1.77 retrieving revision 1.78 diff -c -r1.77 -r1.78 *** src/usr.bin/mandoc/html.c 2017/02/05 20:21:17 1.77 --- src/usr.bin/mandoc/html.c 2017/03/13 19:01:14 1.78 *************** *** 1,4 **** ! /* $OpenBSD: html.c,v 1.77 2017/02/05 20:21:17 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011-2015, 2017 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: html.c,v 1.78 2017/03/13 19:01:14 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011-2015, 2017 Ingo Schwarze *************** *** 532,549 **** print_byte(h, '='); print_byte(h, '"'); switch (*fmt) { - case 'M': - print_href(h, arg1, arg2, 1); - fmt++; - break; case 'I': print_href(h, arg1, NULL, 0); fmt++; break; case 'R': print_byte(h, '#'); fmt++; ! /* FALLTHROUGH */ default: print_encode(h, arg1, NULL, 1); break; --- 532,556 ---- print_byte(h, '='); print_byte(h, '"'); switch (*fmt) { case 'I': print_href(h, arg1, NULL, 0); fmt++; break; + case 'M': + print_href(h, arg1, arg2, 1); + fmt++; + break; case 'R': print_byte(h, '#'); + print_encode(h, arg1, NULL, 1); fmt++; ! break; ! case 'T': ! print_encode(h, arg1, NULL, 1); ! print_word(h, "\" title=\""); ! print_encode(h, arg1, NULL, 1); ! fmt++; ! break; default: print_encode(h, arg1, NULL, 1); break;