]> cat aescling's git repositories - mastodon.git/commitdiff
Federated profile bio now formatted
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 21 Dec 2016 18:10:19 +0000 (19:10 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 21 Dec 2016 18:10:19 +0000 (19:10 +0100)
app/helpers/atom_builder_helper.rb

index 02876d5ad7947d794cb84d67334aed365833a9e1..036a72166e4d553d7802a041ae1f8be5bda67e33 100644 (file)
@@ -100,7 +100,7 @@ module AtomBuilderHelper
   def portable_contact(xml, account)
     xml['poco'].preferredUsername account.username
     xml['poco'].displayName(account.display_name) unless account.display_name.blank?
-    xml['poco'].note(account.note) unless account.note.blank?
+    xml['poco'].note(Formatter.instance.simplified_format(account)) unless account.note.blank?
   end
 
   def in_reply_to(xml, uri, url)