From dc1ec81ad916a5829ca14d6e4391660628c982e4 Mon Sep 17 00:00:00 2001 From: Mark Cheret Date: Sun, 18 Apr 2021 00:19:23 +0200 Subject: [PATCH] Update task.php --- class/task.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/class/task.php b/class/task.php index 4c2411a..26fd87d 100644 --- a/class/task.php +++ b/class/task.php @@ -2094,8 +2094,11 @@ class MCI_Footnotes_Task { // Determine tooltip content. if ( MCI_Footnotes::$a_bool_tooltips_enabled ) { $l_str_tooltip_content = $l_bool_has_tooltip_text ? $l_str_tooltip_text : $l_str_excerpt_text; - // @reporter @pewgeuges - // @link https://github.com/markcheret/footnotes/issues/103 + /** + * @reporter @pewgeuges + * @link https://github.com/markcheret/footnotes/issues/103 + * @since 2.7.1 + */ $l_arr_paragraph_splitters = array( '#(

|]*>)#', '#(|]*>)#' ); $l_str_tooltip_content = preg_replace( $l_arr_paragraph_splitters, '
', $l_str_tooltip_content ); } else {