/[Frey]/trunk/t/11-frey-html.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/11-frey-html.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 708 by dpavlin, Fri Aug 15 23:49:11 2008 UTC revision 709 by dpavlin, Wed Dec 3 22:24:18 2008 UTC
# Line 14  BEGIN { Line 14  BEGIN {
14  }  }
15    
16  ok( my $o = Frey::HTML->new( html => '<p>demo</p>'), 'new' );  ok( my $o = Frey::HTML->new( html => '<p>demo</p>'), 'new' );
17  is( $o->xhtml, '<p>demo</p>', 'xhtml' );  is( $o->cleanup_as_markup, '<p>demo</p>', 'cleanup_as_markup' );
18    
19  ok( $o = Frey::HTML->new( html => '<p class="foobar" >demo</p >'), 'new garbage' );  ok( $o = Frey::HTML->new( html => '<p class="foobar" >demo</p >'), 'new garbage' );
20  is( $o->xhtml, '<p>demo</p>', 'xhtml removed attributes' );  is( $o->cleanup_as_markup, '<p>demo</p>', 'cleanup_as_markup removed attributes' );
21    

Legend:
Removed from v.708  
changed lines
  Added in v.709

  ViewVC Help
Powered by ViewVC 1.1.26