If you want to sanitize WYSIWYG output for allowed HTML tags for post content, you can use {!! wp_kses_post($var) !!}, also if you will want to replace double line breaks with paragraph elements and sanitize content for allowed HTML, then you can use {!! wpautop(wp_kses_post($var)) !!}, but if you will want to escape HTML, you can use the function suggested by @ben{!! esc_html($var) !!}.