[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

html: extra <p> in footnote expansion

From: Ralf Wildenhues
Subject: html: extra <p> in footnote expansion
Date: Tue, 6 Jun 2006 23:18:52 +0200
User-agent: Mutt/1.5.11+cvs20060403

In the HTML output of "makeinfo --html foo.texi", a @footnote generates
an extra unclosed <p> at the end of the pages:


I think this is a bug -- tidy doesn't like it -- and it seems the patch
below fixes this.


        * makeinfo/footnote.c (output_pending_notes): Use
        add_html_block_elt instead of add_word for final part of
        footnote, so no extra <p> is output.

Index: makeinfo/footnote.c
RCS file: /cvsroot/texinfo/texinfo/makeinfo/footnote.c,v
retrieving revision 1.8
diff -u -r1.8 footnote.c
--- makeinfo/footnote.c 15 May 2005 00:00:07 -0000      1.8
+++ makeinfo/footnote.c 6 Jun 2006 20:48:47 -0000
@@ -380,7 +380,7 @@
     if (html)
-      add_word ("<hr></div>");
+      add_html_block_elt ("<hr></div>");
     close_paragraph ();
     free (array);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]