Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Commit
rt branch, 4.0/html-language-attributes, updated. rt-4.0.5-115-g0c03eb2
 

Index | Next | Previous | View Flat


trs at bestpractical

Apr 24, 2012, 6:31 PM


Views: 76
Permalink
rt branch, 4.0/html-language-attributes, updated. rt-4.0.5-115-g0c03eb2

The branch, 4.0/html-language-attributes has been updated
via 0c03eb27f0919146f88fa1efdeadf59a9260fc39 (commit)
from a625c19ef0f65ed3a690d298e24dc5c999fb6487 (commit)

Summary of changes:
t/web/scrub.t | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 0c03eb27f0919146f88fa1efdeadf59a9260fc39
Author: Thomas Sibley <trs [at] bestpractical>
Date: Tue Apr 24 21:31:46 2012 -0400

Update scrubber tests to expect lang attributes

diff --git a/t/web/scrub.t b/t/web/scrub.t
index 6483a75..612c6e2 100644
--- a/t/web/scrub.t
+++ b/t/web/scrub.t
@@ -30,13 +30,13 @@ use Test::LongString;

{
my $html = q[<span lang=EN-US style='font-family:"Century Gothic","sans-serif";'>oh hai I'm some text</span>];
- my $expected = q[<span style="font-family:&quot;Century Gothic&quot;,&quot;sans-serif&quot;;">oh hai I'm some text</span>];
+ my $expected = q[<span lang="EN-US" style="font-family:&quot;Century Gothic&quot;,&quot;sans-serif&quot;;">oh hai I'm some text</span>];
is_string(scrub_html($html), $expected, "font lists");
}

{
my $html = q[<span lang=EN-US style='font-size:7.5pt;font-family:"Century Gothic","sans-serif";color:#666666;mso-fareast-language:IT'>oh hai I'm some text</span>];
- my $expected = q[<span style="font-size:7.5pt;font-family:&quot;Century Gothic&quot;,&quot;sans-serif&quot;;color:#666666;mso-fareast-language:IT">oh hai I'm some text</span>];
+ my $expected = q[<span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Century Gothic&quot;,&quot;sans-serif&quot;;color:#666666;mso-fareast-language:IT">oh hai I'm some text</span>];
is_string(scrub_html($html), $expected, "outlook html");
}


-----------------------------------------------------------------------
_______________________________________________
Rt-commit mailing list
Rt-commit [at] lists
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit

Subject User Time
rt branch, 4.0/html-language-attributes, updated. rt-4.0.5-115-g0c03eb2 trs at bestpractical Apr 24, 2012, 6:31 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.