=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/html.c,v retrieving revision 1.54 retrieving revision 1.55 diff -c -r1.54 -r1.55 *** src/usr.bin/mandoc/html.c 2014/12/20 00:19:54 1.54 --- src/usr.bin/mandoc/html.c 2015/01/21 20:20:49 1.55 *************** *** 1,7 **** ! /* $OpenBSD: html.c,v 1.54 2014/12/20 00:19:54 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons ! * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above --- 1,7 ---- ! /* $OpenBSD: html.c,v 1.55 2015/01/21 20:20:49 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons ! * Copyright (c) 2011-2015 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above *************** *** 305,310 **** --- 305,312 ---- case ESCAPE_NUMBERED: /* FALLTHROUGH */ case ESCAPE_SPECIAL: + /* FALLTHROUGH */ + case ESCAPE_OVERSTRIKE: if (skip) skip = 0; else *************** *** 431,436 **** --- 433,443 ---- if ('\0' == *p) nospace = 1; continue; + case ESCAPE_OVERSTRIKE: + if (len == 0) + continue; + c = seq[len - 1]; + break; default: continue; }