fixes #2601: custom Css, do not add "important;" to lines starting with @
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<% CurrentUser.user.custom_style.split.each do |line| %>
|
||||
<% CurrentUser.user.custom_style.split(/\r\n|\r|\n/).each do |line| %>
|
||||
<% if line =~ /^@import/ %>
|
||||
<%= raw(line) %>
|
||||
<% else %>
|
||||
|
||||
Reference in New Issue
Block a user