diff --git a/app/views/poll/poll_result.html.erb b/app/views/poll/poll_result.html.erb index a7cb415b3..47f3b179d 100644 --- a/app/views/poll/poll_result.html.erb +++ b/app/views/poll/poll_result.html.erb @@ -4,9 +4,7 @@

<%= @poll.polls_name.empty? ? l(:label_poll_new) : @poll.polls_name %>

-

- <%= @poll.polls_description%> -

+ <%= @poll.polls_description.nil? ? "" : @poll.polls_description.html_safe%>
    diff --git a/app/views/poll/show.html.erb b/app/views/poll/show.html.erb index ae2691a91..ad10a5468 100644 --- a/app/views/poll/show.html.erb +++ b/app/views/poll/show.html.erb @@ -33,9 +33,7 @@

    <%= @poll.polls_name%>

    -

    - <%= @poll.polls_description.html_safe %> -

    + <%= @poll.polls_description.nil? ? "" : @poll.polls_description.html_safe%>