diff --git a/inc/functions.php b/inc/functions.php index 43d09d58..fb418f8c 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -133,6 +133,8 @@ $temp .= substr($body, $previousPosition, $position-$previousPosition) . $cites[1][$index] . $replacement . $cites[3][$index]; $previousPosition = $position+strlen($cites[0][$index]); } + // The rest + $temp .= substr($body, $previousPosition); $body = $temp; }