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

View file

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