Skip to content

Commit ba1ddfa

Browse files
committed
fix html display in task details
1 parent 30de2ae commit ba1ddfa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extensions/pages/task_list_page/app/helpers/task_list_page_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def delete_task_edit_button(task)
150150
end
151151

152152
def save_task_edit_button(task)
153-
submit_tag :save.t
153+
submit_tag :save_button.t
154154
end
155155

156156
###

extensions/pages/task_list_page/app/views/tasks/_inner_task_show.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.task{id: "#{dom_id(task,'details')}", style: "display:none"}
77
%table
88
%tr
9-
%td{colspan: "2"}= task.description_html
9+
%td{colspan: "2"}= task.description_html.to_s.html_safe
1010
%tr
1111
%td Created: #{friendly_date(task.created_at)}
1212
%td   Completed: #{friendly_date(task.completed_at)}

0 commit comments

Comments
 (0)