]> source.dussan.org Git - gitea.git/commit
Support quote selected comments to reply (#32431)
authorwxiaoguang <wxiaoguang@gmail.com>
Thu, 7 Nov 2024 03:57:07 +0000 (11:57 +0800)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 03:57:07 +0000 (03:57 +0000)
commit145e26698791221b007c7dd460fb506cb0237235
treeceeff90fbc2a1e97d906daa9a8023b399c04dcf8
parent276500c314db1c0ef360088753861ffc010a99da
Support quote selected comments to reply (#32431)

Many existing tests were quite hacky, these could be improved later.

<details>

![image](https://github.com/user-attachments/assets/93aebb4f-9de5-4cb8-910b-50c64cbcd25a)

</details>
16 files changed:
modules/markup/html.go
modules/markup/html_codepreview_test.go
modules/markup/html_internal_test.go
modules/markup/html_test.go
modules/markup/markdown/markdown_test.go
modules/markup/sanitizer_default.go
modules/templates/util_render_test.go
routers/api/v1/misc/markup_test.go
templates/repo/diff/comments.tmpl
templates/repo/issue/view_content.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/issue/view_content/context_menu.tmpl
templates/repo/issue/view_content/conversation.tmpl
web_src/js/features/repo-issue-edit.ts
web_src/js/markup/html2markdown.test.ts [new file with mode: 0644]
web_src/js/markup/html2markdown.ts [new file with mode: 0644]