Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Content with newlines or tabs not to be encoded to base64 in as_xml #1

Merged
merged 1 commit into from

2 participants

This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/XML/Atom/Content.pm
View
2  lib/XML/Atom/Content.pm
@@ -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;
Something went wrong with that request. Please try again.