From cb89771df673c95151d698be6b21d78cf5ed298e Mon Sep 17 00:00:00 2001 From: chiu Date: Sat, 2 Nov 2019 12:53:59 +0800 Subject: [PATCH] Update _writing_journal.html.erb --- app/views/admin/journal_papers/_writing_journal.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/admin/journal_papers/_writing_journal.html.erb b/app/views/admin/journal_papers/_writing_journal.html.erb index 4e820d5..71f3444 100644 --- a/app/views/admin/journal_papers/_writing_journal.html.erb +++ b/app/views/admin/journal_papers/_writing_journal.html.erb @@ -2,9 +2,8 @@ <%= writing_journal.year %> - <% puts YAML.load(writing_journal.create_link).inspect %> <%= ("
" - + writing_journal.create_link.to_s + "
") + + writing_journal.create_link.gsub(/(\")/,'\'') + "") .html_safe %>