From: Anthony Talarico Date: Mon, 3 Dec 2018 14:11:17 +0000 (-0500) Subject: fixing nested anchor tags wrapped in each other X-Git-Tag: v1.6.2^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=45c6a05e663735886824a1c760438f0026842701;p=WP-Plugins%2Fglm-blocks.git fixing nested anchor tags wrapped in each other --- diff --git a/glm-blocks.php b/glm-blocks.php index f6e8735..7f7c164 100644 --- a/glm-blocks.php +++ b/glm-blocks.php @@ -113,7 +113,7 @@ function action_item_blocks( $atts ){ foreach ($blocks as $block): $post_image_id = get_post_thumbnail_id($block->ID); $thumbnail = wp_get_attachment_image_src( $post_image_id, 'landing_page'); - $out .= ''; + $out .= '
'; if($block->url): $out .= 'externalUrl)? ' target="_blank"':'').'>'; endif;