Merge pull request #480 from ThibG/glitch-soc/fixes/glitch-soc-bio-escape

Fix glitch-style bio fields incorrect HTML escaping in public profiles
th-downstream
ThibG 7 years ago committed by GitHub
commit 6e5b5d557c

@ -37,8 +37,8 @@
.account__header__fields .account__header__fields
- processed_bio[:metadata].each do |i| - processed_bio[:metadata].each do |i|
%dl %dl
%dt.emojify{ title: i[0] }= i[0] %dt.emojify{ title: i[0] }!= i[0]
%dd.emojify{ title: i[1] }= i[1] %dd.emojify{ title: i[1] }!= i[1]
.details-counters .details-counters
.counter{ class: active_nav_class(short_account_url(account)) } .counter{ class: active_nav_class(short_account_url(account)) }

Loading…
Cancel
Save