From 09fb269e377fa42307a8e10171074b7fa228c765 Mon Sep 17 00:00:00 2001 From: Knah Tsaeb Date: Tue, 5 May 2015 16:36:39 +0200 Subject: [PATCH] [add] insert selected description from bookmarklet as quote (markdown) --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 97abf2b..4df8f20 100644 --- a/index.php +++ b/index.php @@ -1606,7 +1606,7 @@ function renderPage() $link_is_new = true; // This is a new link $linkdate = strval(date('Ymd_His')); $title = (empty($_GET['title']) ? '' : $_GET['title'] ); // Get title if it was provided in URL (by the bookmarklet). - $description = (empty($_GET['description']) ? '' : $_GET['description']); // Get description if it was provided in URL (by the bookmarklet). [Bronco added that] + $description = (empty($_GET['description']) ? '' : '>'.$_GET['description']); // Get description if it was provided in URL (by the bookmarklet). [Bronco added that] $tags = (empty($_GET['tags']) ? '' : $_GET['tags'] ); // Get tags if it was provided in URL $via = (empty($_GET['via']) ? '' : $_GET['via'] ); $private = (!empty($_GET['private']) && $_GET['private'] === "1" ? 1 : 0); // Get private if it was provided in URL