]> source.dussan.org Git - gitea.git/commit
Fix code block style for code preview (#30298)
authorwxiaoguang <wxiaoguang@gmail.com>
Sat, 6 Apr 2024 12:07:08 +0000 (20:07 +0800)
committerGitHub <noreply@github.com>
Sat, 6 Apr 2024 12:07:08 +0000 (20:07 +0800)
commit7396172a02a9ea8d80f9763469fd65a5a12ff3f7
tree542c878fb484a660504d8588c2bcff6cd1c3ff2a
parent9c1f4dae2ee85b748250ba7b161d70bd529088d3
Fix code block style for code preview (#30298)

Fix #30292

To avoid unnecessary style overriding, use "div" instead of "code"
modules/markup/sanitizer.go
services/markup/processorhelper_codepreview_test.go
templates/base/markup_codepreview.tmpl
web_src/css/markup/content.css