summaryrefslogtreecommitdiffstats
path: root/bin/xmlpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/xmlpp')
-rwxr-xr-xbin/xmlpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/xmlpp b/bin/xmlpp
index 3de854a..7ab83ef 100755
--- a/bin/xmlpp
+++ b/bin/xmlpp
@@ -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;
}