Ok, I solved it myself. I don’t really know how but I just played around in functions.php and finally got the result I wanted.
Here is what I did if it interests anyone.
I edited the code so that ‘after title’ => is empty, that is, ”
‘if (function_exists(‘register_sidebars’)) {
register_sidebars(1, array(
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’.'<!— BEGIN Widget —>’,
‘before_title’ => ‘<!— BEGIN WidgetTitle —>’,
‘after_title’ => ”,
‘after_widget’ => ‘<!— END Widget —>’.'</div>’