=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/html.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- src/usr.bin/mandoc/html.c 2014/04/23 16:07:06 1.36 +++ src/usr.bin/mandoc/html.c 2014/07/22 22:41:29 1.37 @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.36 2014/04/23 16:07:06 schwarze Exp $ */ +/* $Id: html.c,v 1.37 2014/07/22 22:41:29 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze @@ -326,7 +326,7 @@ int c, len, nospace; const char *seq; enum mandoc_esc esc; - static const char rejs[8] = { '\\', '<', '>', '&', + static const char rejs[9] = { '\\', '<', '>', '&', '"', ASCII_NBRSP, ASCII_HYPH, ASCII_BREAK, '\0' }; nospace = 0; @@ -355,6 +355,9 @@ continue; case '&': printf("&"); + continue; + case '"': + printf("""); continue; case ASCII_NBRSP: putchar('-');