<%= truncate raw(post.body), length: 100 %>
niccolox opened this issue · comments
hi
thanks for this module
could I request the ability to truncate with raw html?
<%= truncate raw(post.body), length: 100 %>
doesn't work at present
Some helpers for phoenix html( truncate, time_ago_in_words, number_with_delimiter, url_for, current_page? )
https://github.com/ikeikeikeike/phoenix_html_simplified_helpers
niccolox opened this issue · comments
hi
thanks for this module
could I request the ability to truncate with raw html?
<%= truncate raw(post.body), length: 100 %>
doesn't work at present