How can I prevent HTML tags getting rendered as plain text? I have my data from SQL with table HTML tags e.g. &lt;tr&gt; and &lt;td&gt;.
When I render it in Views it displaying all the HTML table tags without rendering it.
I put some code in .module file to pass this data using hook_views_post_execute I tried all the solution but nothing seems to work.
My views field is not rendering as table.
You need to unescape HTML. There are two working ways to accomplish this.
First you can mark your field as "raw" and the html would render correctly. 
{{ your_field | raw }} should render ok. 

As a second resort you can use twig's autoescape functionality:

{% autoescape false %}
{{ your_field }}
{% endautoescape %}


By this way you are telling twig not to escape html markup.