getContentText() 사용시 중복으로 escape 되는 문제 수정

이미 작성 과정에서 escape 하였으므로 중복 처리하면 특수문자 <,>가 깨짐
This commit is contained in:
conory 2018-08-23 17:23:17 +09:00
parent 2b183435c8
commit 0848f2ad3c
2 changed files with 4 additions and 4 deletions

View file

@ -552,7 +552,7 @@ class documentItem extends BaseObject
$content = cut_str($content, $strlen, '...');
}
return escape($content);
return escape($content, false);
}
function getContentText($strlen = 0)
@ -577,7 +577,7 @@ class documentItem extends BaseObject
$content = cut_str($content, $strlen, '...');
}
return escape($content);
return escape($content, false);
}
function _addAllowScriptAccess($m)