aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-02-18 19:40:19 +0100
committerArthur <arthur@hoa.ro>2016-02-18 19:40:19 +0100
commit185447fbc6745164ae3dd207b45cc93a0753cc05 (patch)
tree0736fd9fcee06f88e15e1b3a4aa65287a2f752de /index.php
parentbfec695df1205864b46ca7175e1598b184602687 (diff)
parented853da7fde6a05bb76d611863d8d91ab968fec2 (diff)
downloadShaarli-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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 3a63319c..b44cd555 100644
--- a/index.php
+++ b/index.php
@@ -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)