Skip to content

Commit

Permalink
Update the file comment_helper.rb in (publiclab#11084)
Browse files Browse the repository at this point in the history
fixed the issue publiclab#11075 
@TildaDares please review it
  • Loading branch information
preeti-14-7 authored Jun 28, 2022
1 parent 1baed7e commit 83f7600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/comment_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_react_comments(comments_record)
comment_json[:commentId] = comment.cid
comment_json[:commentName] = comment.name
comment_json[:createdAt] = comment.created_at
comment_json[:htmlCommentText] = raw insert_extras(filtered_comment_body(comment.render_body))
comment_json[:htmlCommentText] = raw auto_link(insert_extras(filtered_comment_body(comment.render_body)), :sanitize => false)
comment_json[:rawCommentText] = comment.comment
comment_json[:replyTo] = comment.reply_to
time_created_string = distance_of_time_in_words(comment.created_at, Time.current, include_seconds: false, scope: 'datetime.time_ago_in_words')
Expand Down

0 comments on commit 83f7600

Please sign in to comment.