From 31db4954a6caefef3e538a1f81375ee794d41f25 Mon Sep 17 00:00:00 2001 From: SylorHuang Date: Sat, 27 Jul 2019 13:01:19 +0800 Subject: [PATCH] fixubg --- app/controllers/polls_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/polls_controller.rb b/app/controllers/polls_controller.rb index b90b3c230..5ff83c31b 100644 --- a/app/controllers/polls_controller.rb +++ b/app/controllers/polls_controller.rb @@ -912,7 +912,7 @@ class PollsController < ApplicationController end error_question = error_question.reject(&:blank?) if error_question.reject(&:blank?).length > 0 - normal_status(-1, simple_format("#{error_question.join("\n")}")) + normal_status(-1, simple_format("#{error_question.join("\n")}").html_safe) else poll_user_current = @poll.poll_users.find_by_group_ids(current_user.id).first poll_user_params = {