From: Matt S Trout Date: Mon, 13 Aug 2012 20:31:51 +0000 (+0000) Subject: minor doc fixes X-Git-Tag: v1.000000~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=882026d229d66ccfccf515dd78b552287a39b8cd;p=scpubgit%2FHTML-String.git minor doc fixes --- diff --git a/lib/HTML/String.pm b/lib/HTML/String.pm index 58aa736..c040fe1 100644 --- a/lib/HTML/String.pm +++ b/lib/HTML/String.pm @@ -30,7 +30,7 @@ HTML::String - mark strings as HTML to get auto-escaping my $html = html('

').$not_html.html('

'); - print html($html); #

Hello, Bob " Jake

+ print html($html); #

Hello, Bob & Jake

or, alternatively, @@ -43,7 +43,7 @@ or, alternatively, "

${not_html}

"; } - print html($html); #

Hello, Bob " Jake

+ print html($html); #

Hello, Bob & Jake

(but see the L documentation for details and caveats). diff --git a/lib/HTML/String/Value.pm b/lib/HTML/String/Value.pm index 1e75271..6380081 100644 --- a/lib/HTML/String/Value.pm +++ b/lib/HTML/String/Value.pm @@ -153,7 +153,7 @@ Each entry in @parts consists of one of: [ 'some text that will not be escaped', 0 ] - [ 'text that you DO want to be scaped', 1 ] + [ 'text that you DO want to be escaped', 1 ] $existing_html_string_value