0

I created a field field_quantity_description that contains HTML code. I can output the escaped content of this field:

{{ quantity.entity.field_quantity_description.value }}

I want to render HTML inside this field, so I usually use raw filter like this:

{{ quantity.entity.field_quantity_description.value|raw }}

But Drupal 9 tells me that raw is deprecated. But what do I have to use instead to render HTML inside the field?

Browse other questions tagged or ask your own question.