Remove extra whitespace inside person_link that's causing bad formatting on likes list
This commit is contained in:
parent
6ffcec0885
commit
be00536810
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ module PeopleHelper
|
|||
opts[:class] ||= ""
|
||||
opts[:class] << " self" if defined?(user_signed_in?) && user_signed_in? && current_user.person == person
|
||||
remote_or_hovercard_link = "/people/#{person.id}".html_safe
|
||||
"<a data-hovercard='#{remote_or_hovercard_link}' #{person_href(person)} class='#{opts[:class]}' #{ ("target=" + opts[:target]) if opts[:target]}>#{h(person.name)} </a>".html_safe
|
||||
"<a data-hovercard='#{remote_or_hovercard_link}' #{person_href(person)} class='#{opts[:class]}' #{ ("target=" + opts[:target]) if opts[:target]}>#{h(person.name)}</a>".html_safe
|
||||
end
|
||||
|
||||
def person_image_tag(person, size=nil)
|
||||
|
|
|
|||
Loading…
Reference in a new issue