]> cat aescling's git repositories - mastodon.git/commitdiff
Fix custom.css html escaped (#18824)
authorJeong Arm <kjwonmail@gmail.com>
Mon, 18 Jul 2022 06:41:08 +0000 (15:41 +0900)
committeraescling <aescling+gitlab@cat.family>
Mon, 5 Sep 2022 04:27:55 +0000 (00:27 -0400)
app/views/custom_css/show.css.erb

index 521834832e52e71040a7a6306251237d12291798..9cd38fb37140a1fd23790ae11b80700a951b2bc2 100644 (file)
@@ -1,5 +1,5 @@
 <%- if Setting.custom_css.present? %>
-<%= Setting.custom_css %>
+<%= raw Setting.custom_css %>
 
 <%- end %>
 <%- UserRole.where(highlighted: true).select { |role| role.color.present? }.each do |role| %>