diff options
author | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2005-12-15 03:59:38 +0000 |
---|---|---|
committer | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2005-12-15 03:59:38 +0000 |
commit | ca36f0683da1754f68371c09171dca381e955c99 (patch) | |
tree | 673708c2c8746ce4a789a701c65bd198ad79a69c | |
parent | bb85e5a95d95ffdc2990c94f60fe1d576995d7a9 (diff) | |
download | fedora-doc-utils-ca36f0683da1754f68371c09171dca381e955c99.tar.gz fedora-doc-utils-ca36f0683da1754f68371c09171dca381e955c99.tar.xz fedora-doc-utils-ca36f0683da1754f68371c09171dca381e955c99.zip |
Ignore <!ENTITY> elements for now.
-rwxr-xr-x | bin/xmlpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,7 +7,7 @@ # for more information. # -# $Revision: 1.1 $ +# $Revision: 1.2 $ # # xmlpp: XML pretty printing # @@ -128,6 +128,7 @@ do { parsePI("$1\n"); } elsif ($input =~ s/^(<\!DOCTYPE[^\[>]*(\[[^\]]*\])?[^>]*>)(.*)$/$3/s) { parseDoctype("$1"); + } elsif ($input =~ s/^(<\!ENTITY.*>)//s) { } else { last; } |