Last active
May 5, 2017 06:05
-
-
Save lesm/838fe8cd036ce71c84da7f83ce254f42 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| = sanitize(text, :tags=>[]).truncate(30, :separator => " ").html_safe | |
| = truncate(strip_tags(post.content), length: 100, omission: '...') | |
| = raw @post.description |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment