From 5a34b9c1f3ee1cb0f98cedd63ea1e5d965cb4476 Mon Sep 17 00:00:00 2001 From: gferg <> Date: Fri, 18 Jan 2002 13:57:44 +0000 Subject: [PATCH] entity fix --- LDP/builder/ldp_print/README | 2 +- LDP/builder/ldp_print/VERSION | 2 +- LDP/builder/ldp_print/fix_print_html.lib | 13 ++++++++----- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/LDP/builder/ldp_print/README b/LDP/builder/ldp_print/README index 948a2e4c..833ae0bd 100644 --- a/LDP/builder/ldp_print/README +++ b/LDP/builder/ldp_print/README @@ -3,7 +3,7 @@ ldp_print - print tool/script for DocBook SGML/XML documents ###################################################################### - Copyright (C) 2001-2000 - Greg Ferguson (gferg@metalab.unc.edu) + Copyright (C) 2002-2000 - Greg Ferguson (gferg@metalab.unc.edu) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/LDP/builder/ldp_print/VERSION b/LDP/builder/ldp_print/VERSION index fc50cb47..0be56e76 100644 --- a/LDP/builder/ldp_print/VERSION +++ b/LDP/builder/ldp_print/VERSION @@ -1 +1 @@ -0.5, 2001-11-27 +0.5.1, 2002-01-18 diff --git a/LDP/builder/ldp_print/fix_print_html.lib b/LDP/builder/ldp_print/fix_print_html.lib index ffd970c6..f27b9e6c 100644 --- a/LDP/builder/ldp_print/fix_print_html.lib +++ b/LDP/builder/ldp_print/fix_print_html.lib @@ -8,11 +8,12 @@ # thru htmldoc. # # log: -# 16Oct2000 - 0.1 - initial entry -# 03Apr2001 - 0.2 - fix for -# 05Jul2001 - 0.3 - fix for and -f -# 12Oct2001 - 0.4 - fix for sections; loop thru both files (body/title) -# 27Nov2001 - 0.5 - fixed bug in determining where doc-index lies +# 16Oct2000 - 0.1 - initial entry +# 03Apr2001 - 0.2 - fix for +# 05Jul2001 - 0.3 - fix for and -f +# 12Oct2001 - 0.4 - fix for sections; loop thru both files (body/title) +# 27Nov2001 - 0.5 - fixed bug in determining where doc-index lies +# 18Jan2002 - 0.5.1 - entity fix (822*) # sub fix_print_html { @@ -140,6 +141,8 @@ sub fix_html { $$buf =~ s/\&\#60;/\</g; $$buf =~ s/\&\#62;/\>/g; $$buf =~ s/\&\#8211;/\-/g; + $$buf =~ s/\&\#8220;/\"/g; + $$buf =~ s/\&\#8221;/\"/g; $$buf =~ s/WIDTH=\"\d\"//g; $$buf =~ s/><[\/]*TBODY//g; $$buf =~ s/><[\/]*THEAD//g;