Skip to content

Commit

Permalink
fix(PC): 修复动态列表内容转化为富文本后异常截断的问题
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/zhiyicx-plus-pc/resources/views/templates/feeds.blade.php
  • Loading branch information
mutoe committed Dec 18, 2018
1 parent 2e24bd3 commit 9fea8fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
@else
<a class="feed_text" href="{{ route('pc:feedread', ['feed' => $post['id']]) }}">
@php
$content = formatContent($post['feed_content']);
$content = $post['feed_content'];
$has_more = mb_strlen($content, 'utf-8') > 100;
$content = mb_substr($content, 0, 100, 'utf-8');
@endphp
Expand Down

0 comments on commit 9fea8fe

Please sign in to comment.