search for: actionviewtexthelp

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

Did you mean: actionviewtexthelper
2009 Mar 02
3
Truncate function and html tags
I have a text field in the db for the body of user posts. Users submit the posts using the tinymce editor, which allows certain html tags. The posts are stored in the db with allowed html tags directly in the post, so I could have something like: <p>This post will try to eliminate the confusion regarding rails and the truncate function.</p> I am trying to display the first 300