Fixes #468: don't trim description
Spaces at the start of shaares can be intended. Eg: markdown plugin. #468
This commit is contained in:
parent
bfec695df1
commit
ed853da7fd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue