B
Bla ...
Using "css_tt" gem, I was able to create a tooltip.
However, my text (of the tooltip) has many "<br/>".
Here's my view:
<p>
<% @tooltip = "Whatever <br/>
This is just an example<br/>
I need many break lines<br/>
Got it?" %>
<%= css_tt("Tooltip:", @tooltip, :title => "My title") %>
</p>
In my computer, the tooltip shows a cute text, WITH the break lines.
However, when I try to run the project in ANOTHER computer, instead of
break lines, i get the "<br/>" that I've wrote..
Someone knows what can it be?
However, my text (of the tooltip) has many "<br/>".
Here's my view:
<p>
<% @tooltip = "Whatever <br/>
This is just an example<br/>
I need many break lines<br/>
Got it?" %>
<%= css_tt("Tooltip:", @tooltip, :title => "My title") %>
</p>
In my computer, the tooltip shows a cute text, WITH the break lines.
However, when I try to run the project in ANOTHER computer, instead of
break lines, i get the "<br/>" that I've wrote..
Someone knows what can it be?