Before I used <% = truncate (@article.content,: length => 100)%>
to truncate the content and it worked.
Now I use TinyMCE I tried <% = truncate (@article.content.html_safe,: length => 100)%>
but the contents are not truncated.
Before I used <% = truncate (@article.content,: length => 100)%>
to truncate the content and it worked.
Now I use TinyMCE I tried <% = truncate (@article.content.html_safe,: length => 100)%>
but the contents are not truncated.