diff options
author | Arthur <arthur@hoa.ro> | 2016-02-18 19:40:19 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-02-18 19:40:19 +0100 |
commit | 185447fbc6745164ae3dd207b45cc93a0753cc05 (patch) | |
tree | 0736fd9fcee06f88e15e1b3a4aa65287a2f752de /index.php | |
parent | bfec695df1205864b46ca7175e1598b184602687 (diff) | |
parent | ed853da7fde6a05bb76d611863d8d91ab968fec2 (diff) | |
download | Shaarli-185447fbc6745164ae3dd207b45cc93a0753cc05.tar.gz Shaarli-185447fbc6745164ae3dd207b45cc93a0753cc05.tar.zst Shaarli-185447fbc6745164ae3dd207b45cc93a0753cc05.zip |
Merge pull request #470 from ArthurHoaro/description-trim
Fixes #468: don't trim description
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1588,7 +1588,7 @@ function renderPage() | |||
1588 | $link = array( | 1588 | $link = array( |
1589 | 'title' => trim($_POST['lf_title']), | 1589 | 'title' => trim($_POST['lf_title']), |
1590 | 'url' => $url, | 1590 | 'url' => $url, |
1591 | 'description' => trim($_POST['lf_description']), | 1591 | 'description' => $_POST['lf_description'], |
1592 | 'private' => (isset($_POST['lf_private']) ? 1 : 0), | 1592 | 'private' => (isset($_POST['lf_private']) ? 1 : 0), |
1593 | 'linkdate' => $linkdate, | 1593 | 'linkdate' => $linkdate, |
1594 | 'tags' => str_replace(',', ' ', $tags) | 1594 | 'tags' => str_replace(',', ' ', $tags) |