app/views/layouts/decidim/_question_header.html.erb in decidim-consultations-0.26.10 vs app/views/layouts/decidim/_question_header.html.erb in decidim-consultations-0.27.0.rc1

- old
+ new

@@ -1,8 +1,8 @@ <div class="consultations-header row column"> <div class="row column consultations-header__main" - style="background-image:url('<%= question.attached_uploader(:banner_image).path %>');"> + style="background-image:url(<%= question.attached_uploader(:banner_image).path %>);"> <div class="consultations-header__container row"> <div class="columns mediumlarge-9 consultations-header__info"> <div> <h1 class="text-highlight heading2"> <%= link_to translated_attribute(question.consultation.title), @@ -21,10 +21,10 @@ </div> <%= yield :question_header_instructions if content_for? :question_header_instructions %> <div class="row column consultations-title"> - <h2 class="heading2"><%= decidim_sanitize translated_attribute(question.title), scrubber: Decidim::Consultations::QuestionTitleScrubber.new %></h2> + <h2 class="heading2"><%= decidim_sanitize translated_attribute question.title %></h2> <% unless question.hashtag.blank? %> <div class="text-center"> <%= link_to "##{question.hashtag}", twitter_hashtag_url(question.hashtag), target: "_blank" %> </div> <% end %>