Okay
  Print

Remove p tags from text widgets in WordPress 4.8

This is because of WordPress wpautop function which is wrapping lines with paragraph tags, and now function is being executed in text widget because it is present be default in text editor, which is inducted in WordPress version 4.8. Solution to this is to remove all spaces inside text widgets, and if that doesn't work 100% or you don't want to go trough all theme widgets and to do this manually you can simply add following line of code inside theme folder / functions.php

remove_filter('widget_text_content', 'wpautop');

If you want  permanent modification for future updates you should add that line inside child theme folder / functions.php file.