Skip to content

Commit

Permalink
话题内容页面
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Sep 20, 2019
1 parent 7637220 commit 395b8e5
Show file tree
Hide file tree
Showing 7 changed files with 909 additions and 53 deletions.
2 changes: 1 addition & 1 deletion app/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ function category_nav_active($category_id)
function make_excerpt($value, $length = 200)
{
$excerpt = trim(preg_replace('/\r\n|\r|\n+/', ' ', strip_tags($value)));
return str_limit($excerpt, $length);
return Str::limit($excerpt, $length);
}
Loading

0 comments on commit 395b8e5

Please sign in to comment.