]> source.dussan.org Git - gitea.git/commit
Fix video width overflow in markdown, and other changes to match img (#24834)
authorBrecht Van Lommel <brecht@blender.org>
Sun, 21 May 2023 21:19:37 +0000 (23:19 +0200)
committerGitHub <noreply@github.com>
Sun, 21 May 2023 21:19:37 +0000 (21:19 +0000)
commit268d121f4bf9bd7c0b601937c9232a3e2b233cb6
tree1ff703ad98f7927a89ae019fd3d46d56c9f1c8cf
parente95b42e187cde9ac4bd541cd714bdb4f5c1fd8bc
Fix video width overflow in markdown, and other changes to match img (#24834)

This change makes the CSS for `<video>` in markup match that of `<img>`,
and also allows additional attributes to be used. This way the width,
padding, alignment should work equally well for both.
modules/markup/sanitizer.go
web_src/css/markup/content.css