mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
adds autolink to result comments
This commit is contained in:
parent
fafecce264
commit
32eea3dbdd
1 changed files with 4 additions and 2 deletions
|
@ -40,5 +40,7 @@
|
|||
<% end %>
|
||||
</div>
|
||||
<div data-role="comment-message-container">
|
||||
<p data-role="comment-message"><%= comment.message %></p>
|
||||
</div>
|
||||
<p data-role="comment-message"><%= auto_link(simple_format(comment.message),
|
||||
link: :urls,
|
||||
html: { target: '_blank' }) %></p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue