title: Rails - active admin html appears instead of hyperlink
body: <p>I am working in <a href="https://activeadmin.info/" rel="nofollow noreferrer">Active Admin</a> and i am using <code>link_to</code> so when i click on a user i get taken to that user profile for some reason instead of hyperlink i am seeing the html.</p>
  
  <p>I have tried two approaches</p>
  
  <p><strong>First</strong></p>
  
  <pre><code>  row 'Users' do
      User
        .joins(:permissions)
        .where(permissions: {admin: true})
        .map{|x| link_to(x.email, [:admin, x]).html_safe }
        .join(', ')
    end
  </code></pre>
  
  <p>Using this approach i see <code>&lt;a href="/admin/users/171625"&gt;email@example.com&lt;/a&gt;</code> rather than a hyper link</p>
  
  <p><strong>Second</strong>  </p>
  
  <pre><code>row 'Users' do
      User
        .joins(:permissions)
        .where(permissions: {admin: true})
        .map{|x| div (link_to(x.email, [:admin, x])).html_safe}
        .join(', ')
  
    end
  </code></pre>
  
  <p>Using this approach what I see in browser is as following
  A hyperlink and a raw html of a hyperlink 
  <a href="https://i.stack.imgur.com/LHkQa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LHkQa.png" alt="enter image description here"></a></p>
  
  <p><strong>Third</strong></p>
  
  <pre><code>  row 'Users' do
      User
        .joins(:permissions)
        .where(permissions: {admin: true})
        .map do |user|
          raw(link_to user.email, admin_user_path(user))
        end
        .join(', ')
    end
  </code></pre>
  
  <p>Result: displays as an html as well</p>
  
  <p>I will really appreciate if someone can tell me what I am doing wrong. All i want is to link the user to their profile page.</p>