diff --git a/frontend/views/book/_book.php b/frontend/views/book/_book.php
index 6d9936f..14c1d3b 100644
--- a/frontend/views/book/_book.php
+++ b/frontend/views/book/_book.php
@@ -17,7 +17,10 @@
Автор: =$model->author->name?> =$model->author->secondname?>
- =$model->preview?>
+ =\yii\helpers\StringHelper::truncate(
+ htmlspecialchars($model->preview),
+ 400
+ ) ?>
price == null){?>
--
libgit2 0.21.4