Is there a way to display plain text only without any line break or format style. I have an input field using the redactor. I want the result to shows plain text without any formatting for this particular page. How can I modify it?
{% set desc = desc|slice(0,150) %}
{% set _desc = desc|split(' ') %}
{% set __desc = _desc|slice(0,-1) %}
{% set desc = __desc|join(' ') %}
{{desc|raw}}
Thanks.