From 34eff8bdcf2ef87b7e7c34ad7988212ae4a8c2ea Mon Sep 17 00:00:00 2001 From: chiu Date: Sat, 2 Nov 2019 13:23:24 +0800 Subject: [PATCH] Update _writing_journal.html.erb --- app/views/admin/journal_papers/_writing_journal.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/journal_papers/_writing_journal.html.erb b/app/views/admin/journal_papers/_writing_journal.html.erb index b7e22d7..57ac12a 100644 --- a/app/views/admin/journal_papers/_writing_journal.html.erb +++ b/app/views/admin/journal_papers/_writing_journal.html.erb @@ -2,7 +2,7 @@ <%= writing_journal.year %> - <%= "#{writing_journal.create_link}".html_safe %> + <%= ActionController::Base.helpers.sanitize("#{writing_journal.create_link}") %>