X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-CGI-Ex;a=blobdiff_plain;f=lib%2FCGI%2FEx%2FJSONDump.pm;h=92d08379e9537d7c4b83c78528c7391a19b8b87d;hp=69222bf85bdeb46ab150908394c75e65093d277e;hb=83f0c6a9aaf9bc520cef93b958d51a5d85e8999c;hpb=48c4840be1f154e262de2c161cb86dc5000dfe47 diff --git a/lib/CGI/Ex/JSONDump.pm b/lib/CGI/Ex/JSONDump.pm index 69222bf..92d0837 100644 --- a/lib/CGI/Ex/JSONDump.pm +++ b/lib/CGI/Ex/JSONDump.pm @@ -17,7 +17,7 @@ use strict; use base qw(Exporter); BEGIN { - $VERSION = '2.05'; + $VERSION = '2.06'; @EXPORT = qw(JSONDump); @EXPORT_OK = @EXPORT; @@ -117,7 +117,7 @@ sub js_escape { utf8::decode($str) if $self->{'utf8'} && &utf8::decode; ### escape and tags in the text - $str =~ s{() )}{$1$quote+$quote}gx; ### add nice newlines (unless pretty is off) if ($self->{'str_nl'} && length($str) > 80) {