mirror of https://github.com/tLDP/LDP
entity fix
This commit is contained in:
parent
09c3998dc8
commit
5a34b9c1f3
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.5, 2001-11-27
|
||||
0.5.1, 2002-01-18
|
||||
|
|
|
@ -8,11 +8,12 @@
|
|||
# thru htmldoc.
|
||||
#
|
||||
# log:
|
||||
# 16Oct2000 - 0.1 - initial entry <gferg (at) sgi.com>
|
||||
# 03Apr2001 - 0.2 - fix for <preface>
|
||||
# 05Jul2001 - 0.3 - fix for <tt> 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 <gferg (at) sgi.com>
|
||||
# 03Apr2001 - 0.2 - fix for <preface>
|
||||
# 05Jul2001 - 0.3 - fix for <tt> 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;
|
||||
|
|
Loading…
Reference in New Issue