Skip to content
Snippets Groups Projects
Commit ae807e0c authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 44b57a93
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,10 @@ module Communication::Website::WithStyle
def substitute_fonts_urls_in_style!
@style.gsub! "src:url(../", "src:url(#{url}/assets/"
@style.gsub ",url(../", ",url(#{url}/assets/"
@style.gsub! "url(../", "url(#{url}/assets/"
@style.gsub! "url('../", "url('#{url}/assets/"
@style.gsub! "url(\"../", "url(\"#{url}/assets/"
@style
end
def style_outdated?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment