добавлена markdown-процессинг текста на странице точки
This commit is contained in:
parent
c1bfd7def6
commit
94f36f9d6b
|
|
@ -51,7 +51,8 @@ class PointController extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
$point->descriptionHtml = nl2br($point->description);
|
||||
$point->descriptionHtml = Markdown::liteProcessing($point->description);
|
||||
$point->descriptionHtml = nl2br($point->descriptionHtml);
|
||||
$point->name = htmlspecialchars($point->name);
|
||||
App::setConfig('title', $point->name . ' – wikipoints.ru');
|
||||
self::addVar('pointLat', $point->lat);
|
||||
|
|
|
|||
Loading…
Reference in New Issue