From 1c3b6f50df9c1106bd44dbb201f265f144c1fb3c Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 27 May 2018 08:48:37 -0700 Subject: split tags using tokenfield instead of comma-separated this allows tag values to contain spaces, which is up to your own micropub server to handle appropriately. closes #95 and replaces #96 --- views/new-bookmark.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/new-bookmark.php') diff --git a/views/new-bookmark.php b/views/new-bookmark.php index 068422f..0cc19d7 100644 --- a/views/new-bookmark.php +++ b/views/new-bookmark.php @@ -89,7 +89,7 @@ $(function(){ 'bookmark-of': $("#note_bookmark").val(), name: $("#note_name").val(), content: $("#note_content").val(), - category: csv_to_array($("#note_category").val()), + category: tokenfieldToArray("#note_category"), 'user->micropub_syndicate_field ?>': syndications }, function(response){ if(response.location != false) { -- cgit v1.2.3