title: How to make Twitter Bootstrap tooltips have multiple lines?
body: <p>I am currently using the below function to create text that will be displayed using Bootstrap’s tooltip plugin. How come multiline tooltips only work with <code>&lt;br&gt;</code> and not <code>\n</code>? I prefer that there is not any HTML in my links’ title attributes.</p>
  
  <p>What works</p>
  
  <pre><code>def tooltip(object)
    tooltip = ""
    object.each do |user|
      tooltip += "#{user.identifier}" + "&lt;br&gt;"
    end
    return tooltip
  end
  </code></pre>
  
  <p>What I want</p>
  
  <pre><code>def tooltip(object)
     tooltip = ""
     object.each do |user|
       tooltip += "#{user.identifier}" + "\n"
     end
     return tooltip
   end
  </code></pre>