about summary refs log tree commit diff
path: root/app/views/application/_sidebar.html.haml
diff options
context:
space:
mode:
authorChristian Schmidt <github@chsc.dk>2023-03-06 15:37:19 +0100
committerGitHub <noreply@github.com>2023-03-06 15:37:19 +0100
commitc4cf92094ec3cc065df2b05c76352dcb72020777 (patch)
tree224cc53a4bf02777f9c2de602743e91432936a64 /app/views/application/_sidebar.html.haml
parentdfa9843ac85d04e1facb2f757fd9288d8bb9fb2c (diff)
Do not strip tags from `Setting.site_short_description` (#23975)
Diffstat (limited to 'app/views/application/_sidebar.html.haml')
-rw-r--r--app/views/application/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_sidebar.html.haml b/app/views/application/_sidebar.html.haml
index 6d18668b0..9d0efa7e1 100644
--- a/app/views/application/_sidebar.html.haml
+++ b/app/views/application/_sidebar.html.haml
@@ -3,7 +3,7 @@
     = image_tag @instance_presenter.thumbnail&.file&.url(:'@1x') || asset_pack_path('media/images/preview.png'), alt: @instance_presenter.title
 
   .hero-widget__text
-    %p= @instance_presenter.description.html_safe.presence || t('about.about_mastodon_html')
+    %p= @instance_presenter.description.presence || t('about.about_mastodon_html')
 
 - if Setting.trends && !(user_signed_in? && !current_user.setting_trends)
   - trends = Trends.tags.query.allowed.limit(3)