We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c9afb8 commit 5d3c5acCopy full SHA for 5d3c5ac
1 file changed
app/views/polls/show.md.erb
@@ -1,6 +1,8 @@
1
<%= render "nodes/front_matter", :content => @poll %>
2
3
-<%= raw @poll.wiki_explanations.encode(universal_newline: true) %>
+<%- if !@poll.wiki_explanations.nil? -%>
4
+ <%= raw @poll.wiki_explanations.encode(universal_newline: true) %>
5
+<%- end -%>
6
7
<%- @poll.answers.each do |answer| -%>
8
* <%= raw answer.answer %>
0 commit comments