Rebuilding binaries. Fixing minor issue with PR#105

This commit is contained in:
seancolyer
2013-10-09 19:09:54 -04:00
parent 81fdb00418
commit b94566a154
3 changed files with 51 additions and 30 deletions

View File

@@ -24,7 +24,7 @@
* and an attribute "openpgp" containing the bytes.
*/
function openpgp_encoding_deArmor(text) {
text = text.replace(/\r/g, '')
text = text.replace(/\r/g, '');
// remove whitespace of blank line to allow later split at \n\n
text = text.replace(/\n\s+\n/, '\n\n');
@@ -59,7 +59,7 @@ function openpgp_encoding_deArmor(text) {
}
var data = {
openpgp: openpgp_encoding_base64_decode(message)
openpgp: openpgp_encoding_base64_decode(message),
type: type
};