]> source.dussan.org Git - gitea.git/commit
Markdown task list improvements (#13952)
authorsilverwind <me@silverwind.io>
Sun, 13 Dec 2020 01:05:50 +0000 (02:05 +0100)
committerGitHub <noreply@github.com>
Sun, 13 Dec 2020 01:05:50 +0000 (09:05 +0800)
commit41e8b834afbd0c98a8ab4549a90a6bce0ec7096f
tree67e3a2de682b8884af5befeaa47b1924aa83fbd3
parent287b594803105ba517680aa50be478648d434035
Markdown task list improvements (#13952)

* Markdown task list improvements

- Remove `.ui` class and wrappers to prevent fomantic from messing with it.
- Change rendered HTML to match GitHub.
- Add custom styling for the checkboxes.

* fix unittest

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
modules/markup/markdown/goldmark.go
modules/markup/markdown/markdown_test.go
modules/markup/sanitizer.go
modules/markup/sanitizer_test.go
web_src/less/_markdown.less