Fix #4678: Validate custom CSS.
* Make it an error to add invalid custom CSS to your account. * Add a fix script to remove custom CSS from all accounts with invalid CSS.
This commit is contained in:
@@ -1 +1,3 @@
|
||||
<%= raw @css %>
|
||||
<% if @custom_css.valid? %>
|
||||
<%= raw @custom_css.css %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user