Ok, you did help in a way – I started looking in the files after your suggestion and the code was embedded in the main index.php. Thanks.
I tried both functions.php in the wp-includes folder and one if the theme folder. The code seems to be clean there and no block I see in the main page source appears there.