You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/markup/markdown
Jonathan Tran 1650a26eb5
Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236)
Backport https://github.com/go-gitea/gitea/pull/25184 by @jtran
Closes #25225.

Fixes https://github.com/go-gitea/gitea/issues/25160.

`data-source-position` of checkboxes in a task list was incorrect
whenever there was YAML front matter. This would result in issue content
or PR descriptions getting corrupted with random `x` or space characters
when a user checked or unchecked a task.
2 years ago
..
math Implement FSFE REUSE for golang files (#21840) 2 years ago
ast.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2 years ago
convertyaml.go Implement FSFE REUSE for golang files (#21840) 2 years ago
goldmark.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2 years ago
markdown.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2 years ago
markdown_test.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2 years ago
meta.go Implement FSFE REUSE for golang files (#21840) 2 years ago
meta_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
renderconfig.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2 years ago
renderconfig_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
toc.go Implement FSFE REUSE for golang files (#21840) 2 years ago