fix synopsis
Dan Book [Sat, 7 Nov 2015 05:56:12 +0000 (00:56 -0500)]
lib/DOM/Tiny/Entities.pm

index c94982a..bc4a4f3 100644 (file)
@@ -60,8 +60,8 @@ DOM::Tiny::Entities - Encode or decode HTML entities in strings
   use DOM::Tiny::Entities qw(html_escape html_unescape);
   
   my $str = 'foo & bar';
-  $str = html_escape $str; # "foo & bar"
   $str = html_unescape $str; # "foo & bar"
+  $str = html_escape $str; # "foo & bar"
 
 =head1 DESCRIPTION