Skip to content

Commit

Permalink
Update publication.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Jul 28, 2024
1 parent 52360a0 commit 95e556a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/models/publication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ def long_citation(format = :text)
<i>#{journal_html}</i>. <a href="#{link}" target="_blank">DOI:#{doi}</a>
HTML
when :wikispecies
<<~WIKI.html_safe
#{authors_et_al(format).gsub(/[^\.]?$/, '.')} #{journal_date.year}:
#{title}. #{journal}. {{Doi|#{doi}}}
WIKI
"#{authors_et_al(format).gsub(/[^\.]?$/, '.')} #{journal_date.year}: " \
"#{title}. #{journal}. {{Doi|#{doi}}}"
else
"#{authors_et_al(format)} (#{journal_date.year}). " \
"#{title}. #{journal}. DOI:#{doi}"
end
end

Expand Down

0 comments on commit 95e556a

Please sign in to comment.