Views escapes HTML tags in node body I'm creating a view that displays a few fields from a specific content type. Among the fields is the trimmed nody body. The problem is that the HTML tags in the body are escaped and are visible as source in the view.

So instead of 


  Lorem ipsum dolor sit amet, in dolores propriae sapientem vim. Per no
  autem minimum iudicabit, ad numquam eloquentiam ius. Quas iusto ea
  vis. Mea quaestio gloriatur mediocritatem et. Mei rebum postea ne, his
  malorum necessitatibus ei. Ea pro animal mandamus, ad pri postea
  eripuit.


I get the following:


  &lt;p&gt;Lorem ipsum dolor sit amet, in dolores propriae sapientem
  vim. Per no autem minimum iudicabit, ad numquam eloquentiam ius. Quas
  iusto ea vis. Mea quaestio gloriatur mediocritatem et. Mei rebum
  postea ne, his malorum necessitatibus ei. Ea pro animal mandamus, ad
  pri postea eripuit.&lt;/p&gt;


From what I understand Drupal 8 escapes everything by default, so I suspect this has something to do with my problem. I looked at every setting I could find in Views, but I couldn't find anything that would change the escaping of HTML tags.

How can I output the body of a node unescaped in a Drupal 8 view?
I'd recommend against accepting this right away even if it works for you because I suspect it isn't the best answer, but I ran into this same problem and I ended up just overriding the template with raw HTML like so:


Copy core/modules/views/templates/views-view-fields.html.twig to the appropriate location in your own theme (e.g. themes/custom/mytheme/templates/views/views-view-fields.html.twig for me)
For each variable output in the loop add the raw filter, e.g. {{ field.content | raw }}
Clear your caches and refresh the page to see the result


I think this should be okay since any HTML that comes from the views fields should already be filtered of anything harmful (and I believe this is more or less how it used to be done - take a look at the old PHP views templates) but if someone knows better please do correct me in the comments.

EDIT: I noticed one of the related questions (Drupal 8: HTML isn&#39;t rendering, HTML tags are being printed) has a link to this issue: https://www.drupal.org/node/2363423 which I believe is related, so this workaround may soon no longer be necessary.