search for: some_html

Displaying 1 result from an estimated 1 matches for "some_html".

2013 Feb 05
3
Truncate text
Hi Folks, Good evening, I used the code which i print below, Yes i got the result , but i need the result like this "TruncateHtml is jus....(continued)" some_html = ''<ul><li><a href="http://whatever">TruncateHtml is just like the vanilla truncate rails helper , TruncateHtml is just like the vanilla truncate rails helper</a></li></ul>'' truncate_html(some_html, :length => 15, :omission => &...