[Bps-public-commit] r11957 - in HTML-RewriteAttributes: .
sartak at bestpractical.com
sartak at bestpractical.com
Tue Apr 29 16:44:21 EDT 2008
Author: sartak
Date: Tue Apr 29 16:44:21 2008
New Revision: 11957
Modified:
HTML-RewriteAttributes/ (props changed)
HTML-RewriteAttributes/t/002-resources.t
HTML-RewriteAttributes/t/003-links.t
HTML-RewriteAttributes/t/005-links-code.t
Log:
r54651 at onn: sartak | 2008-04-29 16:36:59 -0400
Ensure that Resources isn't touching <a href=""> and that Links is
Modified: HTML-RewriteAttributes/t/002-resources.t
==============================================================================
--- HTML-RewriteAttributes/t/002-resources.t (original)
+++ HTML-RewriteAttributes/t/002-resources.t Tue Apr 29 16:44:21 2008
@@ -9,6 +9,7 @@
<body>
<img src="moose.jpg" />
<img src="http://example.com/nethack.png">
+ <a href="Example.html">Example</a>
<p align="justified" style="color: red">
hooray
</p>
@@ -37,6 +38,7 @@
<body>
<img src="gpj.esoom" />
<img src="gnp.kcahten/moc.elpmaxe//:ptth">
+ <a href="Example.html">Example</a>
<p align="justified" style="color: red">
hooray
</p>
Modified: HTML-RewriteAttributes/t/003-links.t
==============================================================================
--- HTML-RewriteAttributes/t/003-links.t (original)
+++ HTML-RewriteAttributes/t/003-links.t Tue Apr 29 16:44:21 2008
@@ -9,6 +9,7 @@
<body>
<img src="moose.jpg" />
<img src="http://example.com/nethack.png">
+ <a href="Example.html">Example</a>
<p align="justified" style="color: red">
hooray
</p>
@@ -23,6 +24,7 @@
<body>
<img src="http://cpan.org/moose.jpg" />
<img src="http://example.com/nethack.png">
+ <a href="http://cpan.org/Example.html">Example</a>
<p align="justified" style="color: red">
hooray
</p>
Modified: HTML-RewriteAttributes/t/005-links-code.t
==============================================================================
--- HTML-RewriteAttributes/t/005-links-code.t (original)
+++ HTML-RewriteAttributes/t/005-links-code.t Tue Apr 29 16:44:21 2008
@@ -9,6 +9,7 @@
<body>
<img src="moose.jpg" />
<img src="http://example.com/nethack.png">
+ <a href="Example.html">Example</a>
<p align="justified" style="color: red">
hooray
</p>
@@ -29,6 +30,7 @@
is_deeply(\@seen, [
[img => src => "moose.jpg"],
[img => src => "http://example.com/nethack.png"],
+ [a => href => "Example.html"],
]);
is($rewrote, << "END", "rewrote the html correctly");
@@ -36,6 +38,7 @@
<body>
<img src="MOOSE.JPG" />
<img src="HTTP://EXAMPLE.COM/NETHACK.PNG">
+ <a href="EXAMPLE.HTML">Example</a>
<p align="justified" style="color: red">
hooray
</p>
More information about the Bps-public-commit
mailing list