[libhtml-scrubber-perl] 15/30: Update test expectation when scrubbing xhtml
Florian Schlichting
fsfs at moszumanska.debian.org
Sat Nov 11 13:46:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to annotated tag release/0.16
in repository libhtml-scrubber-perl.
commit 39b1159da8c31ae2f9088a3d7cfbf65ab169d65a
Author: Paul Cochrane <paul at liekut.de>
Date: Fri Jun 23 13:13:32 2017 +0200
Update test expectation when scrubbing xhtml
... so that invalid closing tags on empty elements are removed from the
scrubbed output.
---
t/rt19063_xhtml.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/rt19063_xhtml.t b/t/rt19063_xhtml.t
index 463e966..ece4fbc 100644
--- a/t/rt19063_xhtml.t
+++ b/t/rt19063_xhtml.t
@@ -9,6 +9,6 @@ use HTML::Scrubber;
my $scrubber = HTML::Scrubber->new;
$scrubber->default(1);
-is( $scrubber->scrub('<hr/><hr><hr /><hr></hr>'), '<hr /><hr><hr /><hr></hr>', "correct result" );
+is( $scrubber->scrub('<hr/><hr><hr /><hr></hr>'), '<hr /><hr><hr /><hr>', "correct result" );
done_testing;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-scrubber-perl.git
More information about the Pkg-perl-cvs-commits
mailing list