From 46bd98db36a1e8d228c60b7e5e7059ecfeff61cf Mon Sep 17 00:00:00 2001 From: Swrup Date: Thu, 27 Jan 2022 11:08:12 +0100 Subject: [PATCH] \n when inserting citation --- src/js_thread.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js_thread.ml b/src/js_thread.ml index 8255c01..9020314 100644 --- a/src/js_thread.ml +++ b/src/js_thread.ml @@ -10,7 +10,7 @@ let insert_quote post_id = let content = Jv.get comment_textarea "value" in let new_content = Jv.call content "concat" - [| Jv.of_string " >>"; post_id; Jv.of_string " " |] + [| Jv.of_string "\n>>"; post_id; Jv.of_string " " |] in ignore @@ Jv.set comment_textarea "value" new_content; Jv.undefined