fix: invalid html for comment reply.

This commit is contained in:
Yufan Sheng 2024-06-17 04:27:57 +08:00
parent 8d1f4c7848
commit c7253c68e4
Signed by: syhily
GPG Key ID: 9D18A22A7DCD5A9B
2 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@
"netease",
"nextval",
"nian",
"nofollow",
"noto",
"oppo",
"opposans",

View File

@ -153,6 +153,7 @@ if (typeof comments !== 'undefined' && comments !== null) {
// Reply a comment.
if (event.target.matches('.comment-reply-link')) {
cancelReply();
cancel.hidden = false;
replyForm.querySelector('input[name="rid"]').value = event.target.dataset.rid;