/[Frey]/branches/no-pager/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 /branches/no-pager/t/11-frey-html.t

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

revision 737 by dpavlin, Wed Dec 3 21:12:43 2008 UTC revision 738 by dpavlin, Sat Dec 6 15:29:10 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.737  
changed lines
  Added in v.738

  ViewVC Help
Powered by ViewVC 1.1.26