HTML tags added by CiviCRM's rich text editor is generated as plain text in Views output for fields like CiviEvent description or custom rich text fields. Stripping tags in the Views output doesn't tidy it up:

image of html output


Based on feedback from Skvare's Mark Hanna on chat.civicrm.org you need to rewrite the field output, using the _value version and add |raw in the twig.

For the event description field, this looks like: {{ description__value__value|raw }}.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.