]> source.dussan.org Git - gitea.git/commit
Make pasted "img" tag has the same behavior as markdown image (#31235) (#31243)
authorGiteabot <teabot@gitea.io>
Tue, 4 Jun 2024 13:26:55 +0000 (21:26 +0800)
committerGitHub <noreply@github.com>
Tue, 4 Jun 2024 13:26:55 +0000 (13:26 +0000)
commit5136c879c29fdd713f664c68e6d61d4197b6fec0
treeed1a829237a42e6c4ab9e9adc41abe452daf76f2
parentca414a7ccf5e26272662e360c44ac50221a0f2d4
Make pasted "img" tag has the same behavior as markdown image (#31235) (#31243)

Backport #31235 by wxiaoguang

Fix #31230

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
modules/markup/html.go
modules/markup/html_internal_test.go
modules/markup/html_test.go
modules/markup/renderer.go
web_src/js/features/comp/Paste.js