From 967935195c585723f84dabe697bb481068b535d1 Mon Sep 17 00:00:00 2001 From: Stephan Brunker Date: Tue, 12 Dec 2017 23:20:10 +0100 Subject: [PATCH] Fixed a small bug in isolation feature --- plugins/serendipity_event_nl2br/serendipity_event_nl2br.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php b/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php index 8b2d26f6..8d92c3f7 100644 --- a/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php +++ b/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php @@ -619,7 +619,7 @@ p.break { if ($isolation_flag) { //content, no nl2p - $content .= implode(array_slice($textarray,$start,$i-$start-1)); + $content .= implode(array_slice($textarray,$start,$i-$start)); $isolation_flag = false; $start = $i+1; }