Skip to content

Commit 8a5f702

Browse files
committed
fixed test issue..
1 parent 3676cdd commit 8a5f702

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Support/SortableLink.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ private static function applyFormatting($title, string $sortColumn)
8686
return $title;
8787
}
8888

89-
// clear special chars
90-
$title = htmlspecialchars_decode($title, ENT_QUOTES);
91-
9289
if ($title === null) {
9390
$title = $sortColumn;
9491
} elseif (! config('sortable.format_custom_titles')) {
@@ -100,6 +97,9 @@ private static function applyFormatting($title, string $sortColumn)
10097
$title = call_user_func($formatting_function, $title);
10198
}
10299

100+
// clear special chars
101+
$title = htmlspecialchars_decode($title, ENT_QUOTES);
102+
103103
return $title;
104104
}
105105

0 commit comments

Comments
 (0)