diff --git a/README b/README index 4d0dd1c..26245a4 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -README - 2008-11-28 +README - 2009-01-12 ------------------- @@ -184,21 +184,5 @@ GETTING HELP AND REPORTING PROBLEMS LEGAL STUFF - The Mini-XML library is Copyright 2003-2008 by Michael Sweet. - - This library is free software; you can redistribute it - and/or modify it under the terms of the GNU Library General - Public License as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any - later version. - - This library is distributed in the hope that it will be - useful, but WITHOUT ANY WARRANTY; without even the implied - warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the GNU Library General Public License for - more details. - - You should have received a copy of the GNU Library General - Public License along with this library; if not, write to the - Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA - 02139, USA. + The Mini-XML library is Copyright 2003-2009 by Michael Sweet. + License terms are described in the file "COPYING". diff --git a/doc/intro.html b/doc/intro.html index 2cb0d89..9a71dd2 100644 --- a/doc/intro.html +++ b/doc/intro.html @@ -1,7 +1,7 @@ Mini-XML Programmers Manual, Version 2.6 - + @@ -113,15 +113,15 @@ Examples and their meanings and uses are explained below:

-
lpstat
- lpstat(1)
+
mxmldoc
+ mxmldoc(1)
The names of commands; the first mention of a command or function in a chapter is followed by a manual page section number.

/var
- /usr/share/cups/data/testprint.ps
+ /etc/hosts
File and directory names.

@@ -192,21 +192,8 @@ manual:

Legal Stuff

-

The Mini-XML library is copyright 2003-2008 by Michael -Sweet.

- -

This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later -version.

- -

This library is distributed in the hope that it will be -useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for -more details.

+

The Mini-XML library is copyright 2003-2009 by Michael Sweet. License terms +are described in Appendix A - Mini-XML License.

diff --git a/mxmldoc.c b/mxmldoc.c index ed52318..6bff830 100644 --- a/mxmldoc.c +++ b/mxmldoc.c @@ -5,7 +5,7 @@ * Documentation generator using Mini-XML, a small XML-like file parsing * library. * - * Copyright 2003-2008 by Michael Sweet. + * Copyright 2003-2009 by Michael Sweet. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -2739,8 +2739,10 @@ write_description( else ptr --; - if (element) + if (element[0]) fprintf(out, "%s", start); + else if (element) + fputs(start, out); else fprintf(out, "\\fB%s\\fR", start); } @@ -2755,8 +2757,10 @@ write_description( else ptr --; - if (element) + if (element[0]) fprintf(out, "%s", start, start); + else if (element) + fputs(start, out); else fprintf(out, "\\fI%s\\fR", start); }