Something Goofy With This PHP target="_blank" : So I know this kind of question has been asked in here, but mine appears to be different from others:

The code below shows that if there is a URL populate it and open it in a new tab, however, for some strange reason the link opens in a new tab (YAY!!) AND opens in the current tab (BOO!!). I can't figure out what I am missing. Any help is appreciated. And I just checked incognito so it doesn't appear to be a cookie issue either.

    <div class="box span4">
        <?php if( $url1 != '' && $img1 != '' ): ?>
    	    <a href="<?php echo esc_url( $url1 ); ?>" target="_blank" class="box-link">
    		    <center><img class="box-image" src="<?php echo esc_url( $img1 ); ?>"/></center>
    		</a>
    	<?php else: ?>
    		<?php if( $img1 != '' ): ?>
    			<a class="box-no-url">
    				<center><img class="box-image" src="<?php echo esc_url( $img1 ); ?>"/></center>
    			</a>
    	    <?php endif; ?>
    	<?php endif; ?>
    	<p><?php echo wp_kses( $text1, array( 'br' => array(), 'em' => array(), 'strong' => array() ) ); ?></p>
    </div>

Thanks again for any help.

Have a great day.

David
