From ed853da7fde6a05bb76d611863d8d91ab968fec2 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 10 Feb 2016 11:31:45 +0100 Subject: [PATCH] Fixes #468: don't trim description Spaces at the start of shaares can be intended. Eg: markdown plugin. #468 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 3a63319c..b44cd555 100644 --- a/index.php +++ b/index.php @@ -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) -- 2.41.0