mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Run comments through same URL linking filter as chat
This commit is contained in:
parent
85c2910738
commit
d7c40fa6ef
1 changed files with 2 additions and 2 deletions
|
@ -201,7 +201,7 @@ script(type='text/ng-template', id='commentEntryTemplate')
|
||||||
span.rp-entry-user(
|
span.rp-entry-user(
|
||||||
style="color: hsl({{ comment.user.hue }}, 70%, 40%);",
|
style="color: hsl({{ comment.user.hue }}, 70%, 40%);",
|
||||||
) {{ comment.user.name }}:
|
) {{ comment.user.name }}:
|
||||||
| {{ comment.content }}
|
span(ng-bind-html="comment.content | linky:'_blank'")
|
||||||
textarea.rp-comment-input(
|
textarea.rp-comment-input(
|
||||||
expandable-text-area
|
expandable-text-area
|
||||||
ng-if="comment.editing"
|
ng-if="comment.editing"
|
||||||
|
@ -272,7 +272,7 @@ script(type='text/ng-template', id='resolvedCommentEntryTemplate')
|
||||||
style="color: hsl({{ comment.user.hue }}, 70%, 40%);"
|
style="color: hsl({{ comment.user.hue }}, 70%, 40%);"
|
||||||
ng-if="$first || comment.user.id !== thread.messages[$index - 1].user.id"
|
ng-if="$first || comment.user.id !== thread.messages[$index - 1].user.id"
|
||||||
) {{ comment.user.name }}:
|
) {{ comment.user.name }}:
|
||||||
| {{ comment.content }}
|
span(ng-bind-html="comment.content | linky:'_blank'")
|
||||||
.rp-entry-metadata
|
.rp-entry-metadata
|
||||||
| {{ comment.timestamp | date : 'MMM d, y h:mm a' }}
|
| {{ comment.timestamp | date : 'MMM d, y h:mm a' }}
|
||||||
.rp-comment.rp-comment-resolver
|
.rp-comment.rp-comment-resolver
|
||||||
|
|
Loading…
Reference in a new issue