]> cat aescling's git repositories - mastodon.git/commit
Escape HTML in profile name preview in profile settings (#9446)
authorPaweł Ngei <github@alxd.org>
Fri, 7 Dec 2018 15:42:22 +0000 (16:42 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 7 Dec 2018 15:42:22 +0000 (16:42 +0100)
commit5c7f641565e8022c3d8d704e49b510a79e5f16ad
tree6e7bbe51c22eb73084007e2d175234bc8c9ccdee
parentd3547fa00580a03d1687316d56c32f407c0d9fe6
Escape HTML in profile name preview in profile settings (#9446)

* fix non-escaped html in the profile settings

* provide a default profile text in case if there's no custom one

* update haml syntax

* simplify default profile name to username

* sanitize user-input html but display emojified icons
app/javascript/packs/public.js
app/views/application/_card.html.haml