15 public function getText(
string $text =
'', array $params = [])
21 $data = Json::decode($text);
31 || !\
Bitrix\Main\Loader::includeModule(
"tasks")
37 $result = htmlspecialcharsEx(
38 \
Bitrix\Tasks\Comments\Task\CommentPoster::getCommentText(
40 array_merge($params, [
'mobile' => (isset($params[
'mobile']) && $params[
'mobile'] ===
true)])