[Rt-commit] rt branch, 4.0/html-language-attributes, updated. rt-4.0.5-115-g0c03eb2
Thomas Sibley
trs at bestpractical.com
Tue Apr 24 21:31:50 EDT 2012
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.com>
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:"Century Gothic","sans-serif";">oh hai I'm some text</span>];
+ my $expected = q[<span lang="EN-US" style="font-family:"Century Gothic","sans-serif";">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:"Century Gothic","sans-serif";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:"Century Gothic","sans-serif";color:#666666;mso-fareast-language:IT">oh hai I'm some text</span>];
is_string(scrub_html($html), $expected, "outlook html");
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list