More than likely this is an issue with the register_sidebar()
call in functions.php
.
Look for before_widget
and after_widget
. The code below is the default usage.
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
Note: This will alter all of the widgets within the sidebar, not just the TextWidget.