mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-10 23:25:31 +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 %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div data-role="comment-message-container">
|
<div data-role="comment-message-container">
|
||||||
<p data-role="comment-message"><%= comment.message %></p>
|
<p data-role="comment-message"><%= auto_link(simple_format(comment.message),
|
||||||
|
link: :urls,
|
||||||
|
html: { target: '_blank' }) %></p>
|
||||||
</div>
|
</div>
|
Loading…
Add table
Reference in a new issue