mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Merge pull request #1221 from sejin7940/getSummary
줄바꿈 처리되어있는 경우 getSummary 추출 오류 수정
This commit is contained in:
commit
80ae13a6c2
1 changed files with 2 additions and 0 deletions
|
|
@ -525,6 +525,8 @@ class documentItem extends Object
|
||||||
{
|
{
|
||||||
$content = $this->getContent(FALSE, FALSE);
|
$content = $this->getContent(FALSE, FALSE);
|
||||||
|
|
||||||
|
$content = nl2br($content);
|
||||||
|
|
||||||
// For a newlink, inert a whitespace
|
// For a newlink, inert a whitespace
|
||||||
$content = preg_replace('!(<br[\s]*/{0,1}>[\s]*)+!is', ' ', $content);
|
$content = preg_replace('!(<br[\s]*/{0,1}>[\s]*)+!is', ' ', $content);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue