Move the @ inside the mention links
This commit is contained in:
parent
40dea1f625
commit
c030e8b21e
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class StatusMessage < Post
|
|||
if opts[:plain_text]
|
||||
person ? ERB::Util.h(person.name) : ERB::Util.h(inner_captures.first)
|
||||
else
|
||||
person ? "@<a href=\"/people/#{person.id}\" class=\"mention\">#{ERB::Util.h(person.name)}</a>" : ERB::Util.h(inner_captures.first)
|
||||
person ? "<a href=\"/people/#{person.id}\" class=\"mention\">@#{ERB::Util.h(person.name)}</a>" : ERB::Util.h(inner_captures.first)
|
||||
end
|
||||
end
|
||||
form_message
|
||||
|
|
|
|||
Loading…
Reference in a new issue