diff --git a/lib/salmon/salmon.rb b/lib/salmon/salmon.rb index 5ce1156be6ffe72091e08631f6776c9fda2085e4..9ed5567c57f1c1ac1b78b57a3a2e6f259749d57f 100644 --- a/lib/salmon/salmon.rb +++ b/lib/salmon/salmon.rb @@ -90,7 +90,7 @@ module Salmon xml =<<ENTRY <?xml version='1.0' encoding='UTF-8'?> <entry xmlns='http://www.w3.org/2005/Atom'> - <encrypted_header>#{person.encrypt(decrypted_header.rstrip)}</encrypted_header> + <encrypted_header>#{person.encrypt(decrypted_header)}</encrypted_header> <author> <name>#{@author.real_name}</name> <uri>acct:#{@author.diaspora_handle}</uri>