\n when inserting citation
This commit is contained in:
parent
c81815e1a5
commit
d63ec44fba
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue