Skip to content

Commit

Permalink
Item2183: Add unit test for centering tags.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x00@5358 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Oct 22, 2009
1 parent 853ec4a commit 21bdc30
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions WysiwygPlugin/test/unit/WysiwygPlugin/TranslatorTests.pm
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,35 @@ HERE
--
HERE
},

{
exec => $ROUNDTRIP,
name => 'centering',
html => <<'HERE',
<center>Center Text</center><br /> <div style="text-align:center">TEST Centered text.</div>
Not Centered
<div align="center">TEST Centered text.</div>
HERE
tml => <<'HERE',
<center>Center Text</center><br /> <div style="text-align:center">TEST Centered text.</div>
Not Centered
<div align="center">TEST Centered text.</div>
HERE
finaltml => <<'HERE',
<center>Center Text</center><br /> <div style="text-align:center">TEST Centered text.</div>
Not Centered
<div align="center">TEST Centered text.</div>
HERE
},



{
exec => $ROUNDTRIP,
name => 'simpleBullList',
Expand Down

0 comments on commit 21bdc30

Please sign in to comment.