From ca36f0683da1754f68371c09171dca381e955c99 Mon Sep 17 00:00:00 2001 From: Tommy Reynolds Date: Thu, 15 Dec 2005 03:59:38 +0000 Subject: Ignore elements for now. --- bin/xmlpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') 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; } -- cgit