Don't escape web.additional_style

Reported by Andrew Stacey
This commit is contained in:
Jacques Distler 2010-07-21 09:39:18 -05:00
parent 4576a7f7df
commit 267f4a51fc

View file

@ -30,7 +30,7 @@
</style> </style>
<%= "<style type='text/css'>#{@style_additions}</style>" if @style_additions %> <%= "<style type='text/css'>#{@style_additions}</style>" if @style_additions %>
<style type="text/css"><!--/*--><![CDATA[/*><!--*/ <style type="text/css"><!--/*--><![CDATA[/*><!--*/
<%= @web ? @web.additional_style : '' %> <%= @web ? @web.additional_style.html_safe : '' %>
/*]]>*/--></style> /*]]>*/--></style>
<%= javascript_include_tag :defaults %> <%= javascript_include_tag :defaults %>
<%- if @web -%> <%- if @web -%>