Thanks Krumch here is the code I had to remove a few html < to enable the html to show up in the post I also included the next lines of php either side
<?php endif; // true === $et_contact_info_defined ?>
div id=“language_wrapper”>
div id=“language_wrapper-inner”>
[s2If is_user_logged_in()]
Welcome: [s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /].
[/s2If]
/div>
/div>
div id="et-secondary-menu">
<?php
if ( ! $et_contact_info_defined && true === $show_header_social_icons ) {
get_template_part( 'includes/social_icons', 'header' );
} else if ( $et_contact_info_defined && true === $show_header_social_icons ) {
ob_start();