You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have 'striptags' twig function as a option for text fields.
If I have fields managed by things like the ckeditor, they often contain a lot of html entities for their formatting. When viewing them in a list view I really only care about the content and a brief blub without the HTML entities would be useful in the list view.
The text was updated successfully, but these errors were encountered:
Venar
changed the title
Feature Request: Twig's striptags function as a type for text fields
[Feature] Twig's striptags function as a type for text fields
Nov 6, 2017
Just asking: does it make any sense to display the HTML tags on the contents of the list view? Given that we have a raw type that renders the HTML tags, we could apply |striptags by default to the text property. For example:
I think adding striptags to everything text would work for me. When/If I need the html I already use the raw tag, so for menus where I don't want to see that, it would work.
I'm closing this issue because we're starting a new phase in the history of this bundle (see #2059). We've moved it into a new GitHub organization and we need to start from scratch: no past issues, no pending pull requests, etc.
I understand if you are angry or disappointed by this, but we really need to "reset" everything in order to reignite the development of this bundle.
It would be nice to have 'striptags' twig function as a option for text fields.
If I have fields managed by things like the ckeditor, they often contain a lot of html entities for their formatting. When viewing them in a list view I really only care about the content and a brief blub without the HTML entities would be useful in the list view.
The text was updated successfully, but these errors were encountered: