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

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

#wikipoints'; + $point->descriptionHtml = htmlspecialchars($point->description); + $point->descriptionHtml .= '\n \n Посмотреть на карте: http://wikipoints.ru/?point='.$id; + $point->descriptionHtml .= '\n \n #wikipoints'; $og['title'] = $point->name . ' - wikipoints.ru'; $og['description'] = $point->descriptionHtml;