diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index bb711360..6c41fa61 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -25,13 +25,14 @@ content_jsonld = { %>
-
+
+
- <%= image_tag 'card-headers/universes.jpg', style: 'height: 190px' %> - <%= @user.name.present? ? @user.name : 'Anonymous author' %> + <%= image_tag @user.image_url(500).html_safe %>
+
<%= @user.name %>

I'm creating universes on Notebook! I'm currently sharing the following public content:

diff --git a/config/application.rb b/config/application.rb index a2a26240..14bcb5be 100644 --- a/config/application.rb +++ b/config/application.rb @@ -26,5 +26,8 @@ module PlanCharacters # Filter sensitive parameters out of logs config.filter_parameters << :password config.filter_parameters << :password_confirmation + + # Don't encode ampersands into \u0026 when creating JSON + config.active_support.escape_html_entities_in_json = false end end