Fixes #468: don't trim description

Spaces at the start of shaares can be intended. Eg: markdown plugin.

#468
This commit is contained in:
ArthurHoaro 2016-02-10 11:31:45 +01:00
parent bfec695df1
commit ed853da7fd
1 changed files with 1 additions and 1 deletions

View File

@ -1588,7 +1588,7 @@ function renderPage()
$link = array(
'title' => trim($_POST['lf_title']),
'url' => $url,
'description' => trim($_POST['lf_description']),
'description' => $_POST['lf_description'],
'private' => (isset($_POST['lf_private']) ? 1 : 0),
'linkdate' => $linkdate,
'tags' => str_replace(',', ' ', $tags)