From 6cc225a67144c13375732acbbb6bfd663dcbd70a Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Mon, 28 Oct 2024 19:41:03 -0300 Subject: [PATCH] Fix content clickable when having attriutes with < inside --- projects/plugins/wpcomsh/wpcomsh.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/plugins/wpcomsh/wpcomsh.php b/projects/plugins/wpcomsh/wpcomsh.php index 92bacc4441469..1c609132d8dc6 100644 --- a/projects/plugins/wpcomsh/wpcomsh.php +++ b/projects/plugins/wpcomsh/wpcomsh.php @@ -387,7 +387,7 @@ function wpcomsh_make_content_clickable( $content ) { // don't look in ,
,  and 
 	// use 
in support docs where linkifying // breaks shortcodes, etc. - $_split = preg_split( '/(<[^<>]+>)/i', $content, -1, PREG_SPLIT_DELIM_CAPTURE ); + $_split = preg_split( '/(<[^>]+>)/i', $content, -1, PREG_SPLIT_DELIM_CAPTURE ); $end = ''; $out = ''; $combine = '';