I built plugin in WordPress for write question under tool visual editor, but when get data response to front-end content didn’t break line.
PHP code below:
<?php echo apply_filters('the_content', esc_attr($item['question'])); ?>
How to solve that on front-end.
Read more here: Visual editor didn’t break line when show front-end in wordpress