Skip to content

Commit

Permalink
fix autolinking of comments (publiclab#2359)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosgi authored and Souravirus committed Mar 12, 2018
1 parent 6589d39 commit 55019b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/notes/_comment.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</script>

<div id="c<%= comment.cid %>show">
<p><%= render_comment_body(comment) %></p>
<p><%= raw auto_link(render_comment_body(comment)) %></p>
<% if comment.body.include?('?') %>
<p class="alert alert-info">Is this a question? <a href="/questions/new?title=<%= comment.body %>">Click here</a> to post it to the <a href="/questions">Questions page</a>.
</p>
Expand Down

0 comments on commit 55019b0

Please sign in to comment.