mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Removed prefix route groups, applyed styleci changes
Removing prefix route groups out of visual preference. Those don't really save much and I prefer seeing the complete paths when going down the list to better guage where I am.
This commit is contained in:
@ -173,7 +173,7 @@ class SearchResultsFormatter
|
||||
if (!$fetchAll && $contextStart !== 0 && $contextStart !== $start) {
|
||||
$content .= ' ...';
|
||||
$contentTextLength += 4;
|
||||
} else if ($fetchAll) {
|
||||
} elseif ($fetchAll) {
|
||||
// Or fill in gap since the previous match
|
||||
$fillLength = $contextStart - $lastEnd;
|
||||
$content .= e(substr($originalText, $lastEnd, $fillLength));
|
||||
|
Reference in New Issue
Block a user