added new line to br

This commit is contained in:
Harry Bomrah 2017-03-06 15:22:21 +08:00
parent 14d8305c8e
commit 58c2df6749
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
<%= form_for :answer, :method => :put, :url => survey_path(@survey), :html => {:class => 'survey clear'} do |f| %>
<h3 class="o-question-topic"><%= @survey.title %></h3>
<div class="o-question-description">
<%= @survey.description.html_safe %>
<%= nl2br(@survey.description) %>
</div>
<ol class="o-question-list">
<% @questions.each_with_index do |question, i| %>