diff --git a/ground/controllers/IndexController.php b/ground/controllers/IndexController.php index b390d1d..4566e35 100644 --- a/ground/controllers/IndexController.php +++ b/ground/controllers/IndexController.php @@ -53,8 +53,10 @@ class IndexController extends Controller $point = new Point(); $point = $point->getByPK($id); - $point->descriptionHtml = htmlspecialchars($point->description); $point->name = htmlspecialchars($point->name); + $point->descriptionHtml = nl2br(htmlspecialchars($point->description)); + $point->descriptionHtml .= '

Посмотреть на карте: http://wikipoints.ru/?point='.$id; + $point->descriptionHtml .= '

#wikipoints'; $og['title'] = $point->name . ' - wikipoints.ru'; $og['description'] = $point->descriptionHtml;