-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Description
Description
- can not save empty comment
I think we need to checkoldContent == comment.Contentinstead oflen(comment.Content) == 0
and return an empty json, then checkdata.content === undefinedin js.

(the second one has been fixed)
- edit comment regression
Caused by #29843
after the edition you will see this strange code:

If I revert the changes from #29843, it works
Have no idea how to fix this, as lint not allow using append.
maybe other changes in #29843 will also have this issue?
the appended data will be text not DOM element.

Gitea Version
latest