diff options
author | jfieber <jfieber@FreeBSD.org> | 1996-03-26 13:26:53 +0000 |
---|---|---|
committer | jfieber <jfieber@FreeBSD.org> | 1996-03-26 13:26:53 +0000 |
commit | 0cd10045f126fcd4e268f3791657857435d968b3 (patch) | |
tree | 72d6c2a665b9fe06ffb65d927f35630b3da9d07d /usr.bin/sgmlfmt | |
parent | b50b9c720907e35eb46b3c6216e7598e7bbc9e5c (diff) | |
download | FreeBSD-src-0cd10045f126fcd4e268f3791657857435d968b3.zip FreeBSD-src-0cd10045f126fcd4e268f3791657857435d968b3.tar.gz |
Make sure there is a linefeed at the end of generated HTML files.
Diffstat (limited to 'usr.bin/sgmlfmt')
-rwxr-xr-x | usr.bin/sgmlfmt/sgmlfmt.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sgmlfmt/sgmlfmt.pl b/usr.bin/sgmlfmt/sgmlfmt.pl index 30db8a6..e2f0cc9 100755 --- a/usr.bin/sgmlfmt/sgmlfmt.pl +++ b/usr.bin/sgmlfmt/sgmlfmt.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: sgmlfmt.pl,v 1.7 1995/09/22 18:24:32 jfieber Exp $ +# $Id: sgmlfmt.pl,v 1.8 1995/10/07 22:28:34 jfieber Exp $ # Format an sgml document tagged according to the linuxdoc DTD. # by John Fieber <jfieber@freebsd.org> for the FreeBSD documentation @@ -394,7 +394,7 @@ sub html2html { $footer[$st_ol[$sc]] .= "<!--#include virtual=\"./$fileroot.ftr$st_ol[$sc]\" -->"; } - $footer[$st_ol[$sc]] .= "\n</BODY>\n</HTML>"; + $footer[$st_ol[$sc]] .= "\n</BODY>\n</HTML>\n"; } # Add this to the master table of contents @@ -568,7 +568,7 @@ sub html2html { } } - print tocfile "</HTML>"; + print tocfile "</HTML>\n"; open(SECOUT, ">$fileroot.html"); print SECOUT "$header[0] $text[0] $footer[0]"; close(SECOUT); |