From 45c6a05e663735886824a1c760438f0026842701 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 3 Dec 2018 09:11:17 -0500 Subject: [PATCH] fixing nested anchor tags wrapped in each other --- glm-blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.17.1