vxcxvc
This commit is contained in:
parent
8a428b9a2f
commit
648b21a73c
2 changed files with 2 additions and 3 deletions
|
@ -76,8 +76,7 @@ function openReplyBox(id) {
|
|||
let text = getSelection().toString()
|
||||
if (text)
|
||||
{
|
||||
text = text.replace(/\n\n/g,"\n\n>")
|
||||
text = text.replace(/>\n\n/g,"\n\n")
|
||||
text = text.replace(/\n\n/g,"\n\n>").replace(/>\n\n/g,"\n\n")
|
||||
if (!text.endsWith('\n\n')) text += '\n\n'
|
||||
textarea.value = `>${text}`
|
||||
}
|
||||
|
|
|
@ -864,7 +864,7 @@
|
|||
|
||||
{% if v %}
|
||||
<script src="/static/assets/js/marked.js?a=220"></script>
|
||||
<script src="/static/assets/js/comments_v.js?a=225"></script>
|
||||
<script src="/static/assets/js/comments_v.js?a=226"></script>
|
||||
{% endif %}
|
||||
|
||||
<script src="/static/assets/js/clipboard.js?a=220"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue