summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c8ecda0)
Fix index.sgml not to puke (the relevant section will be re-written for the release anyway, but I hate seeing errors).
<TBODY>
<TR>
<TD VALIGN="top"><SPAN CLASS="date">xx-05-2010</SPAN></TD>
<TBODY>
<TR>
<TD VALIGN="top"><SPAN CLASS="date">xx-05-2010</SPAN></TD>
Day 1 of Rostock hackathon: proper handling of quotations in tab-separated
column lists, finished patching of SYNOPSIS breaking (1.9.25), fixed pre-comment
white-space stripping, added end-of-sentence spacing to black partial-implicit
Day 1 of Rostock hackathon: proper handling of quotations in tab-separated
column lists, finished patching of SYNOPSIS breaking (1.9.25), fixed pre-comment
white-space stripping, added end-of-sentence spacing to black partial-implicit
<TR>
<TD>
<DIV CLASS="foot">
<TR>
<TD>
<DIV CLASS="foot">
- Copyright © 2008–2010 Kristaps Dzonsons, $Date: 2010/05/17 23:50:05 $
+ Copyright © 2008–2010 Kristaps Dzonsons, $Date: 2010/05/25 12:44:53 $
-/* $Id: man_validate.c,v 1.41 2010/05/17 22:11:42 kristaps Exp $ */
+/* $Id: man_validate.c,v 1.42 2010/05/25 12:44:53 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
- if ('\t' == *p || isprint((u_char)*p))
+ if ('\t' == *p || isprint((u_char)*p) || ASCII_HYPH == *p)
continue;
if ( ! man_pmsg(m, n->line, pos, MANDOCERR_BADCHAR))
return(0);
continue;
if ( ! man_pmsg(m, n->line, pos, MANDOCERR_BADCHAR))
return(0);
-/* $Id: mdoc_validate.c,v 1.81 2010/05/24 12:31:16 kristaps Exp $ */
+/* $Id: mdoc_validate.c,v 1.82 2010/05/25 12:44:53 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
if ( ! (MDOC_LITERAL & mdoc->flags))
if ( ! mdoc_pmsg(mdoc, line, pos, MANDOCERR_BADCHAR))
return(0);
if ( ! (MDOC_LITERAL & mdoc->flags))
if ( ! mdoc_pmsg(mdoc, line, pos, MANDOCERR_BADCHAR))
return(0);
- } else if ( ! isprint((u_char)*p))
+ } else if ( ! isprint((u_char)*p) && ASCII_HYPH != *p)
if ( ! mdoc_pmsg(mdoc, line, pos, MANDOCERR_BADCHAR))
return(0);
if ( ! mdoc_pmsg(mdoc, line, pos, MANDOCERR_BADCHAR))
return(0);