Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Content with newlines or tabs not to be encoded to base64.

  • Loading branch information...
commit c68e06f3784e26d363b0739c4454795bd23fa025 1 parent 58cd36c
Masakazu Takahashi emasaka authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/XML/Atom/Content.pm
2  lib/XML/Atom/Content.pm
View
@@ -147,7 +147,7 @@ sub _is_printable {
? $data
: eval { Encode::decode("utf-8", $data, Encode::FB_CROAK) } );
- return ! $@ && $decoded =~ /^\p{IsPrint}*$/;
+ return ! $@ && $decoded =~ /^[\p{IsPrint}\s]*$/;
}
1;
Please sign in to comment.
Something went wrong with that request. Please try again.