about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorTad Thorley <phaedryx@users.noreply.github.com>2018-08-26 06:33:59 -0600
committerEugen Rochko <eugen@zeonfederated.com>2018-08-26 14:33:59 +0200
commit104d089df16214855cf3860671f022f7d2520a51 (patch)
treeae7223cee5693f27260e0c5df41f2a6af7cc1641 /app
parent6c9be61f572f79cfe6ceb0599a05c1dcdf8d490c (diff)
Update _bio.html.haml (#8449)
On my local instance (https://ruby.social) we have a custom emoji for octocat (:octocat:). I would love to be able to use the emoji in the metadata for my profile. Instead of:

| github | https://github.com/phaedryx

It could be:

| :octocat: | https://github.com/phaedryx

(using a single emoji makes it easier to read the urls)
Diffstat (limited to 'app')
-rw-r--r--app/views/accounts/_bio.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/_bio.html.haml b/app/views/accounts/_bio.html.haml
index c9a4d8f1b..4e674beff 100644
--- a/app/views/accounts/_bio.html.haml
+++ b/app/views/accounts/_bio.html.haml
@@ -3,7 +3,7 @@
     .account__header__fields
       - account.fields.each do |field|
         %dl
-          %dt.emojify{ title: field.name }= field.name
+          %dt.emojify{ title: field.name }= Formatter.instance.format_field(account, field.name, custom_emojify: true)
           %dd.emojify{ title: field.value }= Formatter.instance.format_field(account, field.value, custom_emojify: true)
 
   = account_badge(account)