Changeset 22808 for lang/perl/Moxy
- Timestamp:
- 11/06/08 15:36:31 (2 months ago)
- Location:
- lang/perl/Moxy/trunk
- Files:
-
- 2 modified
-
lib/Moxy.pm (modified) (2 diffs)
-
t/Plugin-Server-rewrite.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Moxy/trunk/lib/Moxy.pm
r22806 r22808 105 105 $tree->store_comments(1); 106 106 $tree->ignore_unknown(0); 107 $tree->p_strict(1);108 107 $tree->parse($html); 109 108 $tree->eof; … … 133 132 134 133 # dump. 135 my $result = $tree->as_HTML(q{<>"&'} );134 my $result = $tree->as_HTML(q{<>"&'}, '', {}); 136 135 $tree = $tree->delete; # cleanup :-) HTML::TreeBuilder needs this. 137 136 -
lang/perl/Moxy/trunk/t/Plugin-Server-rewrite.t
r10623 r22808 79 79 <html><img src="http://localhost:9999/http%3A%2F%2Fexample.com%2Fbar.jpg" /></html> 80 80 81 === p img 82 --- input 83 <p>foo</p> 84 --- expected 85 <html><p>foo</p></html> 86
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)